Public Types | |
enum | RequiredAccess { AllAccess, WaitAccess, IncrementAccess } |
enum | CreationFlags { CreateOrConnect, CreateNew, ConnectToExisting } |
Specify how to create or connect to an existing event object. More... | |
Public Member Functions | |
CSemaphore () | |
CSemaphore (long initialCount, long maximumCount) | |
CSemaphore (LPSECURITY_ATTRIBUTES lpSecurityAttributes, long initialCount, long maximumCount) | |
CSemaphore (LPSECURITY_ATTRIBUTES lpSecurityAttributes, long initialCount, long maximumCount, const IKernelObjectName &name, CreationFlags creationFlags=CreateOrConnect) | |
CSemaphore (const IKernelObjectName &name, RequiredAccess requiredAccess) | |
CSemaphore (const CSemaphore &rhs) | |
CSemaphore & | operator= (const CSemaphore &rhs) |
long | Increment () |
long | Increment (long count) |
HANDLE | GetWaitHandle () const override |
void | Wait () const override |
bool | Wait (Milliseconds timeout) const override |
enum RequiredAccess |
enum CreationFlags |
CSemaphore | ( | ) |
CSemaphore | ( | long | initialCount, | |
long | maximumCount | |||
) |
CSemaphore | ( | LPSECURITY_ATTRIBUTES | lpSecurityAttributes, | |
long | initialCount, | |||
long | maximumCount | |||
) |
CSemaphore | ( | LPSECURITY_ATTRIBUTES | lpSecurityAttributes, | |
long | initialCount, | |||
long | maximumCount, | |||
const IKernelObjectName & | name, | |||
CreationFlags | creationFlags = CreateOrConnect | |||
) |
CSemaphore | ( | const IKernelObjectName & | name, | |
RequiredAccess | requiredAccess | |||
) |
CSemaphore | ( | const CSemaphore & | rhs | ) |
CSemaphore& operator= | ( | const CSemaphore & | rhs | ) |
long Increment | ( | ) |
long Increment | ( | long | count | ) |
HANDLE GetWaitHandle | ( | ) | const [override] |
void Wait | ( | ) | const [override] |
bool Wait | ( | Milliseconds | timeout | ) | const [override] |