Quick Links: |
#include <bslmt_lockguard.h>
Public Member Functions | |
UnLockGuard (T *lock) | |
UnLockGuard (T *lock, bool alreadyUnlockedFlag) | |
T * | release () |
T * | ptr () const |
This class is DEPRECATED. Use LockGuardUnlock
instead.
bslmt::UnLockGuard< T >::UnLockGuard | ( | T * | lock | ) | [explicit] |
DEPRECATED: Use LockGuardUnlock
instead.
bslmt::UnLockGuard< T >::UnLockGuard | ( | T * | lock, | |
bool | alreadyUnlockedFlag | |||
) |
DEPRECATED: Use LockGuardUnlock
instead.
T* bslmt::LockGuardUnlock< 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 lock the lock object (if any) that was under management.
T* bslmt::LockGuardUnlock< 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.