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

FX::FXScopedReadLock Class Reference

Scoped read lock. More...

#include <FXReadWriteLock.h>

List of all members.

Public Member Functions

 FXScopedReadLock (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 mutex.
 ~FXScopedReadLock ()
 Destroy and unlock associated read-write lock.

Detailed Description

Scoped read lock.


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

Copyright © 1997-2016 Jeroen van der Zijp