#include <CATSignal.h>
CATSignal provides a signal or event interface for synchronization between threads. The signal acts like a gate - when fired, it lets someone through. If set to auto-reset, then it only lets the next caller requesting it through. Otherwise, it will allow callers through until it is reset.
Definition at line 28 of file CATSignal.h.
Public Member Functions | |
CATSignal (bool autoReset=true) | |
virtual | ~CATSignal () |
CATResult | Wait (CATUInt32 milliseconds=0xFFFFFFFF) |
CATResult | Fire () |
Fire() fires the signal, which then allows caller(s) through. | |
CATResult | Reset () |
Reset() resets the signal, making the signal block callers. | |
HANDLE | GetWin32Handle () |
Private Member Functions | |
CATSignal & | operator= (const CATSignal &srcSignal) |
Private Attributes | |
HANDLE | fEvent |