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 } 83 static inline void _SMP_barrier_Control_initialize(
87 _Atomic_Init_uint( &
control->value, 0U );
88 _Atomic_Init_uint( &
control->sense, 0U );
96 static inline void _SMP_barrier_State_initialize(
SMP barrier control.
Definition: smpbarrier.h:51
bool _SMP_barrier_Wait(SMP_barrier_Control *control, SMP_barrier_State *state, unsigned int count)
Waits on the SMP barrier until count threads rendezvoused.
Definition: smpbarrierwait.c:21
SMP barrier per-thread state.
Definition: smpbarrier.h:61
Definition: intercom.c:74