Recursive mutex class. More...
|Lock the mutex. |
|Try to lock the mutex. |
|Unlock the mutex. |
Recursive mutex class.
This is a mutual exclusion object for synchronizing access to shared memory areas for several threads. The mutex is recursive (i.e. a thread may lock the mutex several times, as long as it unlocks the mutex the same number of times).
Try to lock the mutex.
The method will try to lock the mutex. If it fails, the function will return immediately (non-blocking).
trueif the lock was acquired, or
falseif the lock could not be acquired.
Unlock the mutex.
If any threads are waiting for the lock on this mutex, one of them will be unblocked.