Acquire a lock on this mutex object. If this object is currently locked, then suspend execution of the current thread until a lock can be acquired. Note that the behavior is undefined if the calling thread already owns the lock on this mutex, and will likely result in a deadlock.

Synopsis

Declared in <bslmt_muteximpl_pthread.h>

void
lock();

Created with MrDocs