Decrement the count of this semaphore if it is positive and return 0. Return a non-zero value otherwise.
Declared in <bslmt_semaphoreimpl_pthread.h>
<bslmt_semaphoreimpl_pthread.h>
int tryWait();