44 FXMutex(FXbool recursive=
false);
void lock()
Lock mutex.
Definition: FXMutex.h:125
Establish a correspondence between a C++ scope and a FXMutex, so that entering and leaving the scope ...
Definition: FXMutex.h:71
FXbool trylock()
Return true if succeeded locking the mutex.
FXScopedMutex(FXMutex &m)
Construct and lock associated mutex.
Definition: FXMutex.h:81
void unlock()
Unlock mutex.
Definition: FXMutex.h:96
FXbool locked()
Return true if mutex is already locked.
Definition: FXMutex.h:93
FXMutex & mutex()
Return reference to associated mutex.
Definition: FXMutex.h:122
FXbool trylock()
Return true if succeeded locking the mutex.
Definition: FXMutex.h:128
A condition allows one or more threads to synchronize to an event.
Definition: FXCondition.h:35
~FXScopedMutex()
Destroy and unlock associated mutex.
Definition: FXMutex.h:99
The Reverse Mutex unlocks its associated FXMutex when entering the scope, and automatically relocks i...
Definition: FXMutex.h:109
void lock()
Lock the mutex.
void unlock()
Unlock mutex.
FXbool locked()
Return true if mutex is already locked.
FXReverseMutex(FXMutex &m)
Construct and unlock associated mutex.
Definition: FXMutex.h:119
FXbool trylock()
Return true if succeeded locking the mutex.
Definition: FXMutex.h:90
Definition: FX4Splitter.h:28
void lock()
Lock mutex.
Definition: FXMutex.h:87
void unlock()
Unlock mutex.
Definition: FXMutex.h:134
FXbool locked()
Return true if mutex is already locked.
Definition: FXMutex.h:131
FXMutex provides a mutex which can be used to enforce critical sections around updates of data shared...
Definition: FXMutex.h:31
FXMutex & mutex()
Return reference to associated mutex.
Definition: FXMutex.h:84
~FXReverseMutex()
Destroy and relock associated mutex.
Definition: FXMutex.h:137