Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bslmt::UnLockGuard< T > Class Template Reference

#include <bslmt_lockguard.h>

Inheritance diagram for bslmt::UnLockGuard< T >:
bslmt::LockGuardUnlock< T >

List of all members.

Public Member Functions

 UnLockGuard (T *lock)
 UnLockGuard (T *lock, bool alreadyUnlockedFlag)
T * release ()
T * ptr () const

Detailed Description

template<class T>
class bslmt::UnLockGuard< T >

This class is DEPRECATED. Use LockGuardUnlock instead.

See Component bslmt_lockguard


Constructor & Destructor Documentation

template<class T>
bslmt::UnLockGuard< T >::UnLockGuard ( T *  lock  )  [explicit]

DEPRECATED: Use LockGuardUnlock instead.

template<class T>
bslmt::UnLockGuard< T >::UnLockGuard ( T *  lock,
bool  alreadyUnlockedFlag 
)

DEPRECATED: Use LockGuardUnlock instead.


Member Function Documentation

template<class T>
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.

template<class T>
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.


The documentation for this class was generated from the following file: