BloombergLP::bslmt::RecursiveMutex::lock

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.

Synopsis

Declared in <bslmt_recursivemutex.h>

void
lock();