#include <CSync.h>
Public Member Functions | |
CSync () | |
Create the event and also set our error pointer. | |
~CSync () | |
Close the event. | |
bool | Wait (int iMs=-1) |
Wait for someone to call Signal(). | |
bool | Signal () |
Send a signal to someone who's waiting with Wait(). | |
Private Attributes | |
HANDLE | m_hEvent |
The event object to synchronize with. |
Event-based thread synchronization.
Definition at line 44 of file CSync.h.
|
Send a signal to someone who's waiting with Wait().
Definition at line 61 of file CSync.cpp. References ASSAPI, and m_hEvent. Referenced by AxPipe::CThreadSync::WorkSignal(), and AxPipe::CThreadSync::WorkWait(). |
|
Wait for someone to call Signal().
Definition at line 51 of file CSync.cpp. References ASSAPI, and m_hEvent. Referenced by AxPipe::CThreadSync::WorkSignal(), and AxPipe::CThreadSync::WorkWait(). |