CScopedRWLock Class Reference

#include <Lock.h>

Collaboration diagram for CScopedRWLock:

Collaboration graph
[legend]

Detailed Description

Definition at line 152 of file Lock.h.


Public Member Functions

 CScopedRWLock (CRWMutex *rwl, bool write=false)
 ~CScopedRWLock ()

Private Attributes

CRWMutex_rwl

Constructor & Destructor Documentation

CScopedRWLock::CScopedRWLock ( CRWMutex rwl,
bool  write = false 
) [inline]

Definition at line 668 of file Lock.h.

References _rwl, LOCK_TIMEOUT_MS, CRWMutex::readLock(), and CRWMutex::writeLock().

CScopedRWLock::~CScopedRWLock (  )  [inline]

Definition at line 677 of file Lock.h.

References _rwl, and CRWMutex::unlock().


Field Documentation

Definition at line 158 of file Lock.h.

Referenced by CScopedRWLock(), and ~CScopedRWLock().


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

SourceForge.net Logo
Project space on SourceForge.net