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();

Return Value

0 on success, or a non‐zero value if the count was not positive

Created with MrDocs