BazisLib::Win32::CRWLock Class Reference

#include <bzslock.h>

Collaboration diagram for BazisLib::Win32::CRWLock:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CRWLock ()
 ~CRWLock ()
void LockRead ()
 Locks the R/W Lock in read mode.
void LockWrite ()
 Locks the R/W Lock in write mode.
void UnlockRead ()
void UnlockWrite ()

Public Attributes

CCriticalSection m_WriteMutex
TLSUInt32 m_tlsCurThreadReadCount
volatile unsigned m_TotalReaderCount
Event m_ReadyForWrite


Constructor & Destructor Documentation

BazisLib::Win32::CRWLock::CRWLock (  )  [inline]

BazisLib::Win32::CRWLock::~CRWLock (  )  [inline]


Member Function Documentation

void BazisLib::Win32::CRWLock::LockRead (  )  [inline]

Locks the R/W Lock in read mode.

Remarks:
This function should NOT be called while the lock is held in write mode

Here is the call graph for this function:

void BazisLib::Win32::CRWLock::LockWrite (  )  [inline]

Locks the R/W Lock in write mode.

Remarks:
This function should NOT be called while the lock is held in read mode

Here is the call graph for this function:

void BazisLib::Win32::CRWLock::UnlockRead (  )  [inline]

Here is the call graph for this function:

void BazisLib::Win32::CRWLock::UnlockWrite (  )  [inline]

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following file:
SourceForge.net Logo