Public Member Functions | |
TryLocker (Mutex &mtx) | |
Create object and request mutex. | |
~TryLocker () | |
Destroys object and releases mutex. | |
bool | isLocked () |
Checks if the mutex has been succesfully requested. |
Definition at line 76 of file mutex.h.
l4snd::Mutex::TryLocker::TryLocker | ( | Mutex & | mtx | ) |
Create object and request mutex.
mtx | mutex to request. |
Definition at line 150 of file mutex.cpp.
References l4snd::Mutex::tryLock().
bool l4snd::Mutex::TryLocker::isLocked | ( | ) |
Checks if the mutex has been succesfully requested.
Definition at line 170 of file mutex.cpp.
Referenced by ~TryLocker().