Lock this reader‐writer mutex for writing. If there are no active or pending locks on this mutex, lock this mutex for writing and return immediately. Otherwise, block until the write lock on this mutex is acquired. Use unlock to release the lock on this mutex. The behavior is undefined if this method is called from a thread that already has a lock on this mutex.

Synopsis

Declared in <bslmt_rwmutex.h>

void
lockWrite();

Created with MrDocs