|
ARC SDK
|
Mutex which allows shared and exclusive locking. More...
#include <arc/Thread.h>
Public Member Functions | |
| void | lockShared (void) |
| Acquire a shared lock. Blocks until exclusive lock is released. | |
| void | unlockShared (void) |
| Release a shared lock. | |
| bool | isLockShared (void) |
| Returns true if at least one shared lock is held. | |
| void | lockExclusive (void) |
| Acquire an exclusive lock. Blocks until all shared and exclusive locks are released. | |
| void | unlockExclusive (void) |
| Release exclusive lock. | |
| bool | isLockExclusive (void) |
| Returns true if at the exclusive lock is held. | |
| void | forceReset (void) |
| This method is meant to be used only after fork. More... | |
Mutex which allows shared and exclusive locking.
|
inline |
This method is meant to be used only after fork.
It resets state of all internal locks and variables.
1.8.3.1