SOLVED Re: Problem with rtems_event_send crashing from interrupt routine

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 30 13:45:22 UTC 2015


Since these kinds of problems are hard to debug, it may make sense to 
add some assertions that check that we are in the right state if 
RTEMS_DEBUG is enabled. Maybe something like this:

_Thread_Dispatch_disable()
{
    ...
    _Assert( !_CPU_Runs_at_non_maskable_priority() );
}

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list