RWLockHolder Class Reference

A read/write lock holder which locks a Mutex class. More...

#include <mutex.h>

List of all members.

Public Member Functions

 RWLockHolder (ReadWriteLock *_lock, RWLockHolderType _type)
 The constructor.
 ~RWLockHolder ()
 The destructor.


Detailed Description

A read/write lock holder which locks a Mutex class.

Constructor & Destructor Documentation

RWLockHolder ( ReadWriteLock _lock,
RWLockHolderType  _type 
)

The constructor.

Locks the specified read/write lock.

Parameters:
_lock The read/write lock to be held.
_type Indicates whether this lock holder should lock for reading or for writing.

~RWLockHolder (  ) 

The destructor.

Unlocks the held lock.


Generated on Sun Feb 8 11:10:00 2009 for CrissCross by  doxygen 1.5.8