This class template implements a guard for tentative acquisition and release of write synchronization resources (i.e., writer locks).
Synopsis
Declared in <bslmt_writelockguard.h>
template<class T>
class WriteLockGuardTryLock;
Member Functions
Name |
Description |
|
Create a guard that tries to acquire a write lock on |
|
Destroy this guard and unlock the managed lock object, if any. |
Return the address of the modifiable lock object under management by this guard, or 0 if no lock is currently being managed. |
|
Release the managed lock from this guard without unlocking it. |
Created with MrDocs