![]() |
RTEMS 6.3
|
This group contains the SMP barrier implementation. More...
Files | |
| file | cpukit/include/rtems/score/smpbarrier.h |
| This header file provides the interfaces of the SMP Barriers. | |
| file | cpukit/score/src/smpbarrierwait.c |
| This source file contains the implementation of _SMP_barrier_Wait(). | |
Data Structures | |
| struct | SMP_barrier_Control |
| SMP barrier control. More... | |
| struct | SMP_barrier_State |
| SMP barrier per-thread state. More... | |
Functions | |
| bool | _SMP_barrier_Wait (SMP_barrier_Control *control, SMP_barrier_State *state, unsigned int count) |
| Waits on the SMP barrier until count threads rendezvoused. | |
This group contains the SMP barrier implementation.
The SMP barrier provides barrier synchronization for SMP systems at the lowest level.
The SMP barrier is implemented as a sense barrier, see also Herlihy and Shavit, "The Art of Multiprocessor Programming", 17.3 Sense-Reversing Barrier.
| bool _SMP_barrier_Wait | ( | SMP_barrier_Control * | control, |
| SMP_barrier_State * | state, | ||
| unsigned int | count ) |
Waits on the SMP barrier until count threads rendezvoused.
| [in,out] | control | The SMP barrier control. |
| [in,out] | state | The SMP barrier per-thread state. |
| count | The thread count bound to rendezvous. |
| true | This processor performed the barrier release. |
| false | This processor did not performe the barrier release. |