21 #ifndef FXREADWRITELOCK_H 22 #define FXREADWRITELOCK_H 64 FXbool tryWriteLock();
FXbool tryWriteLock()
Try to acquire write lock for read/write lock.
void lock()
Lock read-write lock.
Definition: FXReadWriteLock.h:128
FXbool trylock()
Return true if succeeded locking the read-write lock.
Definition: FXReadWriteLock.h:131
FXbool locked()
Return true if read-write lock is already locked.
Definition: FXReadWriteLock.h:134
void unlock()
Unlock mutex.
Definition: FXReadWriteLock.h:103
FXbool readLocked()
Test if read locked.
FXScopedWriteLock(FXReadWriteLock &rwl)
Construct & lock associated read-write lock.
Definition: FXReadWriteLock.h:122
FXbool locked()
Return true if read-write lock is already locked.
Definition: FXReadWriteLock.h:100
void lock()
Lock read-write lock.
Definition: FXReadWriteLock.h:94
FXbool tryReadLock()
Try to acquire read lock for read/write lock.
FXScopedReadLock(FXReadWriteLock &rwl)
Construct & lock associated read-write lock.
Definition: FXReadWriteLock.h:88
Scoped read lock.
Definition: FXReadWriteLock.h:78
Definition: FX4Splitter.h:28
Scoped write lock.
Definition: FXReadWriteLock.h:112
FXbool trylock()
Return true if succeeded locking the read-write lock.
Definition: FXReadWriteLock.h:97
~FXScopedReadLock()
Destroy and unlock associated read-write lock.
Definition: FXReadWriteLock.h:106
void readLock()
Acquire read lock for read/write lock.
void unlock()
Unlock read-write lock.
Definition: FXReadWriteLock.h:137
FXbool writeLocked()
Test if write locked.
void readUnlock()
Unlock read lock.
FXReadWriteLock & readwritelock()
Return reference to associated read-write lock.
Definition: FXReadWriteLock.h:91
FXReadWriteLock allows multiple readers but only a single writer.
Definition: FXReadWriteLock.h:37
~FXScopedWriteLock()
Destroy and unlock associated read-write lock.
Definition: FXReadWriteLock.h:140
void writeUnlock()
Unlock write mutex.
FXReadWriteLock & readwritelock()
Return reference to associated read-write lock.
Definition: FXReadWriteLock.h:125
void writeLock()
Acquire write lock for read/write mutex.