Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Scoped write lock. More...
#include <FXReadWriteLock.h>
Public Member Functions | |
FXScopedWriteLock (FXReadWriteLock &rwl) | |
Construct & lock associated read-write lock. | |
FXReadWriteLock & | readwritelock () |
Return reference to associated read-write lock. | |
void | lock () |
Lock read-write lock. | |
FXbool | trylock () |
Return true if succeeded locking the read-write lock. | |
FXbool | locked () |
Return true if read-write lock is already locked. | |
void | unlock () |
Unlock read-write lock. | |
~FXScopedWriteLock () | |
Destroy and unlock associated read-write lock. | |
Scoped write lock.
Copyright © 1997-2022 Jeroen van der Zijp |