uLib  User mode C/C++ extended API library for Win32 programmers.
Synchronization Objects

Module Description

Class wrappers for the IPC sync object APIs.
#include <uLib/SyncObj.h>

The benefit of these over raw APIs is that the objects automatically
close their handles when they go out of scope, and they release as many waiters
as they can before they are destroyed (trying to prevent dangling on expired IPCs).
I.e. to help mitigate bad habits where someone used INFINITE and the IPC died.

Classes

class  TCritSec
 
class  TSyncObj
 
class  TEvent
 
class  TMutex
 
class  TSemaphore
 
class  TWaitTimer
 

Typedefs

typedef class TCritSecPCritSec
 
typedef class TSyncObjPSyncObj
 
typedef class TEventPEvent
 
typedef class TMutexPMutex
 
typedef class TSemaphorePSemaphore
 
typedef class TWaitTimerPWaitTimer
 

Typedef Documentation

◆ PCritSec

typedef class TCritSec* PCritSec

Definition at line 27 of file SyncObj.h.

◆ PSyncObj

typedef class TSyncObj* PSyncObj

Definition at line 28 of file SyncObj.h.

◆ PEvent

typedef class TEvent* PEvent

Definition at line 29 of file SyncObj.h.

◆ PMutex

typedef class TMutex* PMutex

Definition at line 30 of file SyncObj.h.

◆ PSemaphore

typedef class TSemaphore* PSemaphore

Definition at line 31 of file SyncObj.h.

◆ PWaitTimer

typedef class TWaitTimer* PWaitTimer

Definition at line 32 of file SyncObj.h.