BloombergLP::bslmt::Barrier::wait

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 wait and timedWait should not be used together, for reasons explained in the documentation of timedWait.

Synopsis

Declared in <bslmt_barrier.h>

void
wait();