Acquire a lock on this mutex object.

Synopsis

Declared in <bslmt_muteximpl_pthread.h>

void
lock();

Description

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.

Created with MrDocs