Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

Mutex Class Reference

A simple implementation of mutex as a wrapper around a pthread mutex or a win32 critical section. More...

#include <mutex.h>

List of all members.

Public Member Functions

 Mutex ()
 ~Mutex ()
void lock ()
void unlock ()


Detailed Description

A simple implementation of mutex as a wrapper around a pthread mutex or a win32 critical section.

If you locked a mutex you MUST unlock it within the same thread.

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.9

Definition at line 31 of file mutex.h.


Constructor & Destructor Documentation

Mutex  ) 
 

Contructs a new simple mutex.

Definition at line 90 of file mutex.cpp.

~Mutex  ) 
 

Destructor

Definition at line 95 of file mutex.cpp.


Member Function Documentation

void lock  ) 
 

Locks the mutex.

Definition at line 100 of file mutex.cpp.

void unlock  ) 
 

Releases the mutex.

Definition at line 105 of file mutex.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Sep 1 09:25:13 2008 for gloox by  doxygen 1.4.1