wibble::sys::Mutex Class Reference
pthread mutex wrapper
More...
#include <mutex.h>
List of all members.
Public Member Functions |
| | Mutex (bool recursive=false) |
| | Mutex (const Mutex &m) |
| | ~Mutex () |
| bool | trylock () |
| void | lock () |
| | Lock the mutex Normally it's better to use MutexLock.
|
| void | unlock () |
| | Unlock the mutex Normally it's better to use MutexLock.
|
| void | reinit () |
| | Reinitialize the mutex.
|
Friends |
| class | Condition |
Detailed Description
pthread mutex wrapper
Constructor & Destructor Documentation
| wibble::sys::Mutex::Mutex |
( |
bool |
recursive = false |
) |
[inline] |
| wibble::sys::Mutex::Mutex |
( |
const Mutex & |
m |
) |
[inline] |
| wibble::sys::Mutex::~Mutex |
( |
|
) |
[inline] |
Member Function Documentation
| void wibble::sys::Mutex::lock |
( |
|
) |
[inline] |
| void wibble::sys::Mutex::reinit |
( |
|
) |
[inline] |
| bool wibble::sys::Mutex::trylock |
( |
|
) |
[inline] |
| void wibble::sys::Mutex::unlock |
( |
|
) |
[inline] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: