Math API nvidia_logo_transpbg.gif Up
mi::base::Condition Class Reference

Conditions allow threads to signal an event and to wait for such a signal, respectively. More...

#include <condition.h>

Public Member Functions

 Condition ()
 Constructor. More...
 
 ~Condition ()
 Destructor. More...
 
void wait ()
 Waits for the condition to be signaled. More...
 
bool timed_wait (Float64 timeout)
 Waits for the condition to be signaled until a given timeout. More...
 
void signal ()
 Signals the condition. More...
 
void reset ()
 Resets the condition. More...
 

Detailed Description

Conditions allow threads to signal an event and to wait for such a signal, respectively.