This class provides a multi‐reader/single‐writer lock mechanism.
Synopsis
Declared in <bslmt_readerwritermutex.h>
class ReaderWriterMutex;
Member Functions
Name |
Description |
|
Construct a reader/writer lock initialized to an unlocked state. |
Return |
|
Return |
|
Return |
|
Lock this reader‐writer mutex for reading. |
|
Lock this reader‐writer mutex for writing. |
|
Attempt to lock this reader‐writer mutex for reading. |
|
Attempt to lock this reader‐writer mutex for writing. |
|
Release the lock that the calling thread holds on this mutex. |
|
Release the read lock that the calling thread holds on this mutex. |
|
Release the write lock that the calling thread holds on this mutex. |
Created with MrDocs