This class defines a thread barrier.
Synopsis
Declared in <bslmt_barrier.h>
class Barrier;
Enums
Name |
Description |
Status codes for timed wait operations. |
Member Functions
Name |
Description |
|
Constructors |
|
Wait for all signaled threads to unblock and destroy this barrier. |
Arrive on this barrier, signaling waiters if this is the last arrival. |
|
Return the clock type used for timeouts. |
|
Return the required number of arrivals before all waiting threads will unblock. |
|
Return the required number of arrivals before all waiting threads will unblock. |
|
Arrive and block until the required arrivals occur or |
|
Arrive and block until the required number of arrivals have occurred. |
Created with MrDocs