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 |
References wibble::sys::Mutex::lock().
|
inline |
References wibble::sys::Mutex::unlock().
|
inline |
|
inline |
References wibble::sys::Mutex::unlock().
|
inline |
References wibble::sys::Mutex::lock().
|
inline |
|
friend |
bool wibble::sys::MutexLockT< Mutex >::locked |
Mutex& wibble::sys::MutexLockT< Mutex >::mutex |
Referenced by wibble::sys::Condition::wait().
bool wibble::sys::MutexLockT< Mutex >::yield |