BloombergLP::bslmt::TimedSemaphore::tryWait

If the count of this timed semaphore is positive, atomically decrement the count and return 0; otherwise, return a non-zero value with no effect on the count.

Synopsis

Declared in <bslmt_timedsemaphore.h>

int
tryWait();