43.6 Barriers

Barriers provide a simple coordination mechanism for threads. Threads wait at a barrier until a specified number of threads have reached the barrier, then they all resume execution.

Threads waiting at a blocking barrier are blocked, until the specified number of threads have reached the barrier. When a thread calls the barrier wait function, the thread has reached the barrier.

Currently, LibC supports barriers on only the UI interface. See UI Synchronization Functions.