Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bslmt::LockWriteGuard< T > Class Template Reference

#include <bslmt_writelockguard.h>

Inheritance diagram for bslmt::LockWriteGuard< T >:
bslmt::WriteLockGuard< T >

List of all members.

Public Member Functions

 LockWriteGuard (T *lock)
 LockWriteGuard (T *lock, bool alreadyLockedFlag)
T * release ()
T * ptr () const

Detailed Description

template<class T>
class bslmt::LockWriteGuard< T >

This class is DEPRECATED. Use WriteLockGuard instead.

See Component bslmt_writelockguard


Constructor & Destructor Documentation

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

DEPRECATED: Use WriteLockGuard instead.

template<class T>
bslmt::LockWriteGuard< T >::LockWriteGuard ( T *  lock,
bool  alreadyLockedFlag 
)

DEPRECATED: Use WriteLockGuard instead.


Member Function Documentation

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

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


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