Evo C++ Library v0.5.1
|
#include <evo/thread_inert.h>
Inert mutex used to disable thread synchronization.
Public Types | |
typedef SmartLockInert< MutexInert > | Lock |
Lock object type (inert) – see SmartLockInert. More... | |
typedef SmartLockInert< MutexInert > | LockRead |
Read Lock object type (inert) – see SmartLockInert. More... | |
typedef SmartLockInert< MutexInert > | LockWrite |
Write Lock object type (inert) – see SmartLockInert. More... | |
typedef SmartLockInert< MutexInert > | SleepLock |
Sleep-Lock object type (inert) – see SmartLockInert. More... | |
Public Member Functions | |
void | lock () |
Lock object (no-op). More... | |
void | lock_read () |
Read-lock object (no-op). More... | |
void | sleeplock (ulong) |
Lock object (no-op). More... | |
bool | trylock () |
Try to lock (no-op). More... | |
bool | trylock_read () |
Try to read-lock (no-op). More... | |
void | unlock () |
Unlock object (no-op). More... | |
void | unlock_read () |
Un-read-lock object (no-op). More... | |