This class template implements a guard for acquisition and release of write synchronization resources (i.e., writer locks).
Declared in <bslmt_writelockguard.h>
template<class T>
class WriteLockGuard;
| Name | Description |
|---|---|
WriteLockGuard [constructor] | Constructors |
~WriteLockGuard [destructor] | Destroy this guard and unlock the managed lock object, if any. |
ptr | Return the address of the modifiable lock object under management by this guard, or 0 if no lock is currently being managed. |
release | Release the managed lock from this guard without unlocking it. |
| Name | Description |
|---|---|
LockWriteGuard | DEPRECATED: Use WriteLockGuard instead. |