BloombergLP::bslmt::Sluice::enter

Enter this sluice and return a token on which to wait.

Synopsis

Declared in <bslmt_sluice.h>

void const*
enter();

Description

Enter this sluice, and return the token on which the calling thread must subsequently wait. The behavior is undefined unless wait or timedWait is invoked with the token before this sluice is destroyed.

Return Value

token on which the calling thread must subsequently wait