63 InitializeCriticalSection(&m_CSWindowsMutex);
64 m_SignalEvent = CreateEvent(NULL,
false,
false,NULL);
78 DeleteCriticalSection(&m_CSWindowsMutex);
79 CloseHandle(m_SignalEvent);
95 ResetEvent(m_SignalEvent);
114 if (WaitForSingleObject(m_SignalEvent, nWaitMS) == WAIT_OBJECT_0)
145 time_t current = time(NULL);
147 int nSeconds = nMS / 1000;
155 nMS -= nSeconds * 1000;
158 uni_ts.tv_sec = current + nSeconds;
159 uni_ts.tv_nsec = nMS * 1000;
209 SetEvent(m_SignalEvent);
Threading::EEventStatus Wait(int nMS=Threading::WAIT_INFINITE)
pthread_mutexattr_t m_MutexAttr
pthread_mutex_t m_PosixMutex
pthread_cond_t m_PosixConditional
pthread_condattr_t m_ConditionalAttr