Quick Links: |
#include <bslmt_writelockguard.h>
Public Member Functions | |
LockWriteGuard (T *lock) | |
LockWriteGuard (T *lock, bool alreadyLockedFlag) | |
T * | release () |
T * | ptr () const |
This class is DEPRECATED. Use WriteLockGuard
instead.
See Component bslmt_writelockguard
bslmt::LockWriteGuard< T >::LockWriteGuard | ( | T * | lock | ) | [explicit] |
DEPRECATED: Use WriteLockGuard
instead.
bslmt::LockWriteGuard< T >::LockWriteGuard | ( | T * | lock, | |
bool | alreadyLockedFlag | |||
) |
DEPRECATED: Use WriteLockGuard
instead.
T* bslmt::WriteLockGuard< T >::release | ( | ) | [inherited] |
Return the address of the modifiable lock object under management by this guard, and release the lock from further management by this guard. If no lock is currently being managed, return 0 with no other effect. Note that this operation does not unlock the lock object (if any) that was under management.
T* bslmt::WriteLockGuard< T >::ptr | ( | ) | const [inherited] |
Return the address of the modifiable lock object under management by this guard, or 0 if no lock is currently being managed.