Inheritance diagram for lfc::Mutex::
Public Methods | |
Mutex () | |
creates an (unlocked) mutex. More... | |
virtual | ~Mutex () throw () |
virtual void | lock () |
locks the mutex. If the mutex has already been locked it waits until it becomes available. More... | |
virtual bool | tryLock () |
attempts to lock the mutex. Doesn't block if the mutex has already been locked. More... | |
virtual void | unlock () |
unlocks the mutex. More... | |
Protected Attributes | |
pal::threads::MutexHandle | m_handle |
|
creates an (unlocked) mutex.
|
|
|
|
locks the mutex. If the mutex has already been locked it waits until it becomes available.
|
|
attempts to lock the mutex. Doesn't block if the mutex has already been locked.
|
|
unlocks the mutex.
|
|
|