BloombergLP::bslmt::SemaphoreImpl<Platform::PosixSemaphore>::tryWait

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

Synopsis

Declared in <bslmt_semaphoreimpl_pthread.h>

int
tryWait();