Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ssobjects::RWLock Class Reference

#include <threadutils.h>

List of all members.

Public Methods

int isLocked ()
int isRLocked ()
int isWLocked ()
 RWLock ()
 ~RWLock ()
void rlock ()
void wlock ()
void wunlock ()
void runlock ()

Protected Attributes

unsigned32 m_nReadersReading
unsigned32 m_nWriterWriting
pthread_mutex_t m_mutex
pthread_cond_t m_condLockFree


Constructor & Destructor Documentation

RWLock::RWLock  
 

RWLock::~RWLock  
 


Member Function Documentation

int ssobjects::RWLock::isLocked   [inline]
 

int ssobjects::RWLock::isRLocked   [inline]
 

int ssobjects::RWLock::isWLocked   [inline]
 

void RWLock::rlock  
 

void RWLock::runlock  
 

void RWLock::wlock  
 

void RWLock::wunlock  
 


Member Data Documentation

pthread_cond_t ssobjects::RWLock::m_condLockFree [protected]
 

pthread_mutex_t ssobjects::RWLock::m_mutex [protected]
 

unsigned32 ssobjects::RWLock::m_nReadersReading [protected]
 

unsigned32 ssobjects::RWLock::m_nWriterWriting [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Nov 8 12:39:29 2001 for SimpleServerObjects by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001