38 volatile FXuval data[4];
FXReverseSpinLock(FXSpinLock &s)
Construct and unlock associated spin lock.
Definition: FXSpinLock.h:120
void lock()
Lock spinlock.
Definition: FXSpinLock.h:88
FXbool locked()
Return true if spinlock is already locked.
FXbool trylock()
Return true if succeeded locking the spinlock.
Definition: FXSpinLock.h:91
The reverse spin lock unlocks its associated FXSpinLock when entering the scope, and automatically re...
Definition: FXSpinLock.h:110
FXSpinLock can be used to provide safe access to very small critical sections.
Definition: FXSpinLock.h:36
FXSpinLock & spinlock()
Return reference to associated spinlock.
Definition: FXSpinLock.h:85
void unlock()
Unlock spin lock.
Definition: FXSpinLock.h:135
~FXScopedSpinLock()
Destroy and unlock associated spinlock.
Definition: FXSpinLock.h:100
FXSpinLock & spinlock()
Return reference to associated spin lock.
Definition: FXSpinLock.h:123
void lock()
Lock the spinlock.
Definition: FX4Splitter.h:28
Establish a correspondence between a C++ scope and an FXSpinLock, so that entering and leaving the sc...
Definition: FXSpinLock.h:72
FXScopedSpinLock(FXSpinLock &s)
Construct & lock associated spinlock.
Definition: FXSpinLock.h:82
void unlock()
Unlock spinlock.
FXbool trylock()
Return true if succeeded locking the spinlock.
FXbool locked()
Return true if spinlock is already locked.
Definition: FXSpinLock.h:94
void unlock()
Unlock spin lock.
Definition: FXSpinLock.h:97
FXbool locked()
Return true if spin lock is already locked.
Definition: FXSpinLock.h:132
FXbool trylock()
Return true if succeeded locking the spin lock.
Definition: FXSpinLock.h:129
void lock()
Lock spin lock.
Definition: FXSpinLock.h:126
~FXReverseSpinLock()
Destroy and relock associated spin lock.
Definition: FXSpinLock.h:138