BMutex Class Reference

Mutex class. More...

#include <BMutex.h>

List of all members.

Public Member Functions

 BMutex ()
 BMutex (const BMutex &mutex)
 ~BMutex ()
int lock ()
 Set lock, wait in necessary.
int unlock ()
 Unlock the lock.
int tryLock ()
 Test the lock.
BMutexoperator= (const BMutex &mutex)

Private Attributes

pthread_mutex_t omutex


Detailed Description

Mutex class.


Constructor & Destructor Documentation

BMutex::BMutex (  ) 

BMutex::BMutex ( const BMutex mutex  ) 

BMutex::~BMutex (  ) 


Member Function Documentation

int BMutex::lock (  ) 

Set lock, wait in necessary.

int BMutex::unlock (  ) 

Unlock the lock.

int BMutex::tryLock (  ) 

Test the lock.

BMutex & BMutex::operator= ( const BMutex mutex  ) 


Member Data Documentation

pthread_mutex_t BMutex::omutex [private]


The documentation for this class was generated from the following files:
Generated on Thu Aug 2 16:17:02 2007 for LibBeamApi by  doxygen 1.5.1