Acquire a lock on this object. If this object is currently locked, then suspend execution of the current thread until a lock can be acquired. Succeed immediately if this thread already holds the lock.
Declared in <bslmt_recursivemutex.h>
void
lock();