BloombergLP::bslmt::TimedSemaphoreImpl<Platform::PthreadTimedSemaphore>::tryWait

Decrement the count of this semaphore if it is positive and return 0. Return a non-zero value otherwise.

Synopsis

Declared in <bslmt_timedsemaphoreimpl_pthread.h>

int
tryWait();