BloombergLP::bslmt::MutexImpl<Platform::PosixThreads>::tryLock

Attempt to acquire a lock on this mutex object. Return 0 on success, and a non-zero value of this object is already locked, or if an error occurs.

Synopsis

Declared in <bslmt_muteximpl_pthread.h>

int
tryLock();