Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|FXReverseSpinLock (FXSpinLock &s)|
|Construct and unlock associated spin lock. |
|FXSpinLock &||spinlock ()|
|Return reference to associated spin lock. |
|Lock spin lock. |
|Return true if succeeded locking the spin lock. |
|Return true if spin lock is already locked. |
|Unlock spin lock. |
|Destroy and relock associated spin lock. |
The reverse spin lock unlocks its associated FXSpinLock when entering the scope, and automatically relocks it upon exiting the scope.
Exceptions raised while in this region will automatically relock the spin lock upon leaving the enclosing scope.
|Copyright © 1997-2020 Jeroen van der Zijp|