Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXThread.h>
Public Member Functions | |
FXMutexLock (FXMutex &m) | |
FXMutex & | mutex () |
void | lock () |
FXbool | trylock () |
FXbool | locked () |
void | unlock () |
~FXMutexLock () |
The mutex will be automatically released when the scope is left (either by natural means or by means of an exception.
|
Construct & lock associated mutex.
|
|
Destroy and unlock associated mutex.
|
|
Return reference to associated mutex.
|
|
Lock mutex.
|
|
Return TRUE if succeeded locking the mutex.
|
|
Return TRUE if mutex is already locked.
|
|
Unlock mutex.
|
Copyright © 1997-2005 Jeroen van der Zijp |