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. (See |
Arrive on this barrier. If this is the last required arrival, signal all the threads that are currently waiting on this barrier to unblock and reset the state of this barrier to its initial state. |
|
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 number of arrivals have occurred. Then signal all the threads that are currently waiting on this barrier to unblock and reset the state of this barrier to its initial state. Note that generally |
Created with MrDocs