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

Mutex Class Reference

Mutual exclusion. More...

#include <Mutex.unix.h>

List of all members.

Public Methods

 Mutex ()
 Default contructor.

 ~Mutex ()
 Unlocks and destroys the mutex.

void lock ()
 Locks the mutex.

void unlock ()
 Unlocks the mutex.

bool trylock ()
 Returns true iff the mutex has been succesfully locked.

 Mutex ()
 Default contructor.

 ~Mutex ()
 Unlocks and destroys the mutex.

void lock ()
 Locks the mutex.

void unlock ()
 Unlocks the mutex.

bool trylock ()
 Returns true iff the mutex has been succesfully locked.


Detailed Description

Mutual exclusion.

The Mutex class abstracts from the OS dependent mutex calls. Currently two versions exists: one based on WIN32 and one on POSIX MT.


The documentation for this class was generated from the following files:
This documentation was generated using doxygen. If you have any comments or additions please mail me.