an Owner Mutex where owner can recursively acquire the Mutex
More...
#include <BlockingSync.h>
|
|
template<bool OL> |
| bool | internalAcquire (mword timeout) |
| |
|
void | internalRelease () |
| |
| template<bool OL = false> |
| bool | acquire () |
| | acquire the mutex More...
|
| |
|
void | release () |
| | release the Mutex
|
| |
|
void | unlock () |
| |
|
std::mutex | lock |
| |
|
BlockingQueue | bq |
| |
|
uThread * | owner |
| |
an Owner Mutex where owner can recursively acquire the Mutex
| mword OwnerLock::acquire |
( |
| ) |
|
|
inline |
Acquire the OwnerLock.
- Returns
- The number of times current owner acquired the lock
| mword OwnerLock::release |
( |
| ) |
|
|
inline |
Release the OwnerLock once.
- Returns
- The number of times current owner acquired the lock, if lock is released completely the result is 0
The documentation for this class was generated from the following file: