FX::FXCondition Class Reference

#include <FXThread.h>

List of all members.


Detailed Description

A condition allows one or more threads to synchronize to an event. When a thread calls wait, the associated mutex is unlocked while the thread is blocked. When the condition becomes signaled, the associated mutex is locked and the thread(s) are reawakened.

Definition at line 123 of file FXThread.h.

Public Member Functions

 FXCondition ()
void wait (FXMutex &mtx)
FXbool wait (FXMutex &mtx, FXlong nsec)
void signal ()
void broadcast ()
 ~FXCondition ()


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:04 2009 for TnFOX by doxygen v1.4.7