BloombergLP::bslmt::Sluice::wait

Wait for the specified token to be signaled and release it.

Synopsis

Declared in <bslmt_sluice.h>

void
wait(void const* token);

Description

Wait for the specified token to be signaled, and release the token. The behavior is undefined unless token was obtained from a call to enter by this thread, and was not subsequently released (via a call to timedWait or wait).

Parameters

NameDescription
tokenwait token previously returned by enter