RTEMS CPU Kit with SuperCore  4.11.2
Macros
assert.h File Reference
#include <rtems/score/basedefs.h>
Include dependency graph for assert.h:

Go to the source code of this file.

Macros

#define _Assert(_e)   ( ( void ) 0 )
 Assertion similar to assert() controlled via RTEMS_DEBUG instead of NDEBUG.
 
#define _SMP_Assert(_e)   ( ( void ) 0 )
 Like _Assert(), but only armed if RTEMS_SMP is defined.
 
#define _Assert_Not_reached()   _Assert( 0 )
 Returns true if thread dispatching is allowed. More...
 

Macro Definition Documentation

◆ _Assert_Not_reached

#define _Assert_Not_reached ( )    _Assert( 0 )

Returns true if thread dispatching is allowed.

Thread dispatching can be repressed via _Thread_Disable_dispatch() or _ISR_Disable(). Returns true if the current thread of execution owns the giant lock. Returns true if the current thread of execution owns the allocator mutex. Asserts that this point is not reached during run-time.