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

Created with MrDocs