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