![]()  | 
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members
 | 
#include <FXThread.h>
Public Member Functions | |
| FXCondition () | |
| void | wait (FXMutex &mtx) | 
| FXbool | wait (FXMutex &mtx, FXuint ms) | 
| void | signal () | 
| void | broadcast () | 
| ~FXCondition () | |
When a thread calls wait, the associated mutex is unlocked while the thread is blocked. When the condition becomes signalled, the associated mutex is locked and the thread(s) are reawakened.
      
  | 
  
| 
 Initialize the condition. 
  | 
  
      
  | 
  
| 
 Delete the condition. 
  | 
  
      
  | 
  
| 
 Wait until condition becomes signalled, using given mutex, which must already have been locked prior to this call. 
  | 
  
      
  | 
  ||||||||||||
| 
 Wait until condition becomes signalled, using given mutex, which must already have been locked prior to this call. Returns TRUE if successful, FALSE if timeout occurred.  | 
  
      
  | 
  
| 
 Wake or unblock a single blocked thread. 
  | 
  
      
  | 
  
| 
 Wake or unblock all blocked threads. 
  | 
  
| 
 |