Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXScopedWriteLock Class Reference

Scoped write lock. More...

#include <FXReadWriteLock.h>

Public Member Functions

 FXScopedWriteLock (FXReadWriteLock &rwl)
 Construct & lock associated read-write lock.
 
FXReadWriteLockreadwritelock ()
 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.
 

Detailed Description

Scoped write lock.


The documentation for this class was generated from the following file:

Copyright © 1997-2022 Jeroen van der Zijp