l4snd::Mutex Class Reference

Supporter class for mutual exclusion of processes/threads. More...

List of all members.

Public Member Functions

 Mutex ()
 Creates the mutex object.
 ~Mutex ()
 Destructs mutex object.
void lock ()
 Waits for the mutex to become available.
void unlock ()
 Releases the mutex.
bool tryLock ()
 Tries to request the mutex.

Classes

class  Locker
 Helper class to request and release a mutex by pure presence. More...
class  TryLocker
 Helper class to request and release a mutex by pure presence. More...


Detailed Description

Supporter class for mutual exclusion of processes/threads.

Definition at line 50 of file mutex.h.


Member Function Documentation

bool l4snd::Mutex::tryLock (  ) 

Tries to request the mutex.

Returns:
false: the mutex was not available

Definition at line 90 of file mutex.cpp.

Referenced by l4snd::Mutex::TryLocker::TryLocker().


The documentation for this class was generated from the following files:
Generated on Sat Nov 24 14:41:25 2007 for log4sendpp by  doxygen 1.5.3