|
wibble
1.1
|
Acquire a mutex lock, RAII-style. More...
#include <mutex.h>

Public Member Functions | |
| MutexLockT (Mutex &m) | |
| ~MutexLockT () | |
| void | drop () |
| void | reclaim () |
| void | setYield (bool y) |
| void | checkYield () |
Public Attributes | |
| Mutex & | mutex |
| bool | locked |
| bool | yield |
Friends | |
| class | Condition |
Acquire a mutex lock, RAII-style.
|
inline |
|
inline |
|
inline |
References wibble::sys::MutexLockT< Mutex >::yield.
Referenced by wibble::sys::MutexLockT< Mutex >::drop(), and wibble::sys::MutexLockT< Mutex >::~MutexLockT().
|
inline |
|
inline |
|
inline |
References wibble::sys::MutexLockT< Mutex >::yield.
|
friend |
| bool wibble::sys::MutexLockT< Mutex >::locked |
| Mutex& wibble::sys::MutexLockT< Mutex >::mutex |
| bool wibble::sys::MutexLockT< Mutex >::yield |
1.8.7