FCondition - wraps the signal and wait calls in win32. More...
#include <fthread.h>
Public Member Functions | |
FCondition (const char8 *name=0) | |
Condition constructor. | |
~FCondition () | |
Condition destructor. | |
void | signal () |
Signals one thread. | |
void | signalAll () |
Signals all threads. | |
void | wait () |
Waits for condition. | |
bool | waitTimeout (int32 timeout=-1) |
Waits for condtion with timeout. | |
void | reset () |
Resets condition. |
FCondition - wraps the signal and wait calls in win32.
FCondition | ( | const char8 * | name = 0 |
) |
Condition constructor.
FCondition CTOR.
name | name of consition | |
name | - can be used to set the name of the event. |
~FCondition | ( | ) |
Condition destructor.
void signal | ( | ) |
Signals one thread.
void signalAll | ( | ) |
Signals all threads.
void wait | ( | ) |
Waits for condition.
bool waitTimeout | ( | int32 | timeout = -1 |
) |
Waits for condtion with timeout.
timeout | time out in milliseconds |
void reset | ( | ) |
Resets condition.