forked from Imagelibrary/rtems
score: Add _SMP_Assert()
This commit is contained in:
@@ -82,6 +82,15 @@ extern "C" {
|
||||
#define _Assert( _e ) ( ( void ) 0 )
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Like _Assert(), but only armed if RTEMS_SMP is defined.
|
||||
*/
|
||||
#if defined( RTEMS_SMP )
|
||||
#define _SMP_Assert( _e ) _Assert( _e )
|
||||
#else
|
||||
#define _SMP_Assert( _e ) ( ( void ) 0 )
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Returns true if thread dispatching is allowed.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user