23 #ifndef _RTEMS_SCORE_SMPBARRIER_H 24 #define _RTEMS_SCORE_SMPBARRIER_H 26 #include <rtems/score/cpuopts.h> 68 #define SMP_BARRIER_CONTROL_INITIALIZER \ 69 { ATOMIC_INITIALIZER_UINT( 0U ), ATOMIC_INITIALIZER_UINT( 0U ) } 74 #define SMP_BARRIER_STATE_INITIALIZER { 0U } 87 _Atomic_Init_uint( &control->value, 0U );
88 _Atomic_Init_uint( &control->sense, 0U );
static void _SMP_barrier_State_initialize(SMP_barrier_State *state)
Initializes a SMP barrier per-thread state.
bool _SMP_barrier_Wait(SMP_barrier_Control *control, SMP_barrier_State *state, unsigned int count)
Waits on the SMP barrier until count threads rendezvoused.
SMP barrier per-thread state.
static void _SMP_barrier_Control_initialize(SMP_barrier_Control *control)
Initializes a SMP barrier control.