|
uLib
User mode C/C++ extended API library for Win32 programmers.
|
#include <uLib/SyncObj.h>
Public Functions | |
| TMutex (LPSECURITY_ATTRIBUTES SecAttr, bool Own, CSTR Name=NULL) | |
| TMutex (DWORD Access, bool Inherit, CSTR Name) | |
| ~TMutex () | |
| bool | Release () |
Public Functions inherited from TSyncObj | |
| TSyncObj () | |
| TSyncObj (const HANDLE &Src) | |
| ~TSyncObj () | |
| bool | Close () |
| bool | Wait (DWORD msWait) |
| bool | WaitEx (DWORD msWait, bool Alertable) |
| bool | SignalAndWait (HANDLE hWaitFor, DWORD msWait, bool Alertable) |
| HANDLE | RegisterWait (WAITORTIMERCALLBACK Callback, PVOID Context, DWORD msWait, DWORD Flags) |
| bool | UnregisterWait (HANDLE hWait) |
| operator HANDLE () | |
| HANDLE | GetHandle () |
| bool | Initialized () |
| HANDLE | Duplicate (HANDLE TargetProc, bool Inherit, ACCESS_MASK Access=0, DWORD Opt=DUPLICATE_SAME_ACCESS) |
Additional Inherited Members | |
Protected Attributes inherited from TSyncObj | |
| HANDLE | _hSync |
| TMutex::TMutex | ( | LPSECURITY_ATTRIBUTES | SecAttr, |
| bool | Own, | ||
| CSTR | Name = NULL |
||
| ) |
CreateMutex(..)
Definition at line 253 of file SyncObj.cpp.
OpenMutex(..)
Definition at line 259 of file SyncObj.cpp.
| TMutex::~TMutex | ( | ) |
Definition at line 265 of file SyncObj.cpp.
| bool TMutex::Release | ( | ) |
ReleaseMutex(..)
Definition at line 270 of file SyncObj.cpp.