8 #if 1//def __cplusplus // Nothing in here is accessible in C 10 #ifndef __uLib_Sync_h_incl__ 11 #define __uLib_Sync_h_incl__ 49 TCritSec& operator = (
const TCritSec& src ) { __debugbreak();
return *
this; }
76 TSyncObj& operator = (
const TSyncObj& Src ) { __debugbreak();
return *
this; }
77 HANDLE& operator = ( HANDLE& Src ) { __debugbreak();
return _hSync; }
105 HANDLE TargetProc,
bool Inherit, ACCESS_MASK Access=0,
DWORD Opt = DUPLICATE_SAME_ACCESS
111 #pragma GCC diagnostics pop 122 TEvent( LPSECURITY_ATTRIBUTES SecAttr,
bool Manual,
bool Init,
CSTR Name = NULL );
139 TMutex( LPSECURITY_ATTRIBUTES SecAttr,
bool Own,
CSTR Name = NULL );
153 TSemaphore( LPSECURITY_ATTRIBUTES SecAttr, LONG Count, LONG MaxCount,
CSTR Name = NULL );
181 TWaitTimer( LPSECURITY_ATTRIBUTES SecAttr,
bool Manual,
CSTR Name = NULL );
200 bool Set( FILETIME Due, LONG Period, PTIMERAPCROUTINE Action, PVOID Context,
bool Resume );
207 bool Set(
INT64 Due, LONG Period, PTIMERAPCROUTINE Action, PVOID Context,
bool Resume );
214 #endif//ndef __uLib_Sync_h_incl__ 215 #endif//def __cplusplus
TSemaphore(LPSECURITY_ATTRIBUTES SecAttr, LONG Count, LONG MaxCount, CSTR Name=NULL)
bool UnregisterWait(HANDLE hWait)
bool Release(LONG Count, OPTOUT LPLONG OldCount=NULL)
class TCritSec * PCritSec
bool WaitEx(DWORD msWait, bool Alertable)
class TSyncObj * PSyncObj
TWaitTimer(LPSECURITY_ATTRIBUTES SecAttr, bool Manual, CSTR Name=NULL)
HANDLE RegisterWait(WAITORTIMERCALLBACK Callback, PVOID Context, DWORD msWait, DWORD Flags)
bool Set(FILETIME Due, LONG Period, PTIMERAPCROUTINE Action, PVOID Context, bool Resume)
TEvent(LPSECURITY_ATTRIBUTES SecAttr, bool Manual, bool Init, CSTR Name=NULL)
bool SignalAndWait(HANDLE hWaitFor, DWORD msWait, bool Alertable)
class TSemaphore * PSemaphore
bool Pulse()
Note: Documented as unreliable. Included just for completeness.
class TWaitTimer * PWaitTimer
HANDLE Duplicate(HANDLE TargetProc, bool Inherit, ACCESS_MASK Access=0, DWORD Opt=DUPLICATE_SAME_ACCESS)
DWORD SetSpinCount(DWORD SpinCount)
TMutex(LPSECURITY_ATTRIBUTES SecAttr, bool Own, CSTR Name=NULL)