BloombergLP::bslmt::Latch::wait

Block until the number of events this latch waits for reaches 0.

Synopsis

Declared in <bslmt_latch.h>

void
wait();

Description

Note that completion of this method does not guarantee this object is safe to destroy.