Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Private Attributes | List of all members
CAReadWriteLock Class Reference

Public Member Functions

 CAReadWriteLock ()
 
 ~CAReadWriteLock ()
 
SINT32 lockRead ()
 
SINT32 lockWrite ()
 
SINT32 unlock ()
 

Private Attributes

CAMutexm_pMutex
 

Constructor & Destructor Documentation

◆ CAReadWriteLock()

CAReadWriteLock::CAReadWriteLock ( )

References m_pMutex.

◆ ~CAReadWriteLock()

CAReadWriteLock::~CAReadWriteLock ( )

References m_pMutex.

Member Function Documentation

◆ lockRead()

SINT32 CAReadWriteLock::lockRead ( )

References E_SUCCESS, E_UNKNOWN, and m_pMutex.

◆ lockWrite()

SINT32 CAReadWriteLock::lockWrite ( )

References E_SUCCESS, E_UNKNOWN, and m_pMutex.

◆ unlock()

SINT32 CAReadWriteLock::unlock ( )

References E_SUCCESS, E_UNKNOWN, and m_pMutex.

Member Data Documentation

◆ m_pMutex

CAMutex* CAReadWriteLock::m_pMutex
private