BRWLock Class Reference

thread read-write locks More...

#include <BRWLock.h>

List of all members.

Public Member Functions

 BRWLock ()
 BRWLock (const BRWLock &rwlock)
 ~BRWLock ()
int rdLock ()
 Set lock, wait if necessary.
int tryRdLock ()
 Test the lock.
int wrLock ()
 Set lock, wait if necessary.
int tryWrLock ()
 Test the lock.
int unlock ()
 Unlock the lock.
BRWLockoperator= (const BRWLock &rwlock)

Private Attributes

pthread_rwlock_t olock


Detailed Description

thread read-write locks

Constructor & Destructor Documentation

BRWLock::BRWLock (  ) 

BRWLock::BRWLock ( const BRWLock rwlock  ) 

BRWLock::~BRWLock (  ) 


Member Function Documentation

int BRWLock::rdLock (  ) 

Set lock, wait if necessary.

int BRWLock::tryRdLock (  ) 

Test the lock.

int BRWLock::wrLock (  ) 

Set lock, wait if necessary.

int BRWLock::tryWrLock (  ) 

Test the lock.

int BRWLock::unlock (  ) 

Unlock the lock.

BRWLock & BRWLock::operator= ( const BRWLock rwlock  ) 


Member Data Documentation

pthread_rwlock_t BRWLock::olock [private]


The documentation for this class was generated from the following files:
Generated on Tue Jan 22 09:32:58 2008 for LibBeamApi by  doxygen 1.5.4