OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TEventSemaphore Class Reference

#include <owl/thread.h>

Inheritance diagram for owl::TEventSemaphore:
owl::TSemaphore

Public Member Functions

 TEventSemaphore (bool manualReset=false, bool initialState=false, LPCTSTR name=nullptr, LPSECURITY_ATTRIBUTES sa=nullptr)
 
 TEventSemaphore (bool manualReset, bool initialState, const tstring &name, LPSECURITY_ATTRIBUTES sa=nullptr)
 
 TEventSemaphore (LPCTSTR name, bool inherit, uint32 access=SEMAPHORE_ALL_ACCESS)
 
 TEventSemaphore (const tstring &name, bool inherit, uint32 access=SEMAPHORE_ALL_ACCESS)
 
 TEventSemaphore (THandle handle)
 
void Set ()
 
void Reset ()
 
void Pulse ()
 
- Public Member Functions inherited from owl::TSemaphore
virtual ~TSemaphore ()
 
 operator THandle () const
 

Additional Inherited Members

- Public Types inherited from owl::TSemaphore
enum  { NoWait = 0 , NoLimit = INFINITE }
 
typedef HANDLE THandle
 
- Protected Attributes inherited from owl::TSemaphore
THandle Handle
 Derived class must initialize.
 

Detailed Description

Definition at line 173 of file thread.h.

Constructor & Destructor Documentation

◆ TEventSemaphore() [1/5]

owl::TEventSemaphore::TEventSemaphore ( bool manualReset = false,
bool initialState = false,
LPCTSTR name = nullptr,
LPSECURITY_ATTRIBUTES sa = nullptr )
inline

Definition at line 1154 of file thread.h.

References owl::TSemaphore::Handle.

◆ TEventSemaphore() [2/5]

owl::TEventSemaphore::TEventSemaphore ( bool manualReset,
bool initialState,
const tstring & name,
LPSECURITY_ATTRIBUTES sa = nullptr )
inline

Definition at line 1164 of file thread.h.

References owl::TSemaphore::Handle.

◆ TEventSemaphore() [3/5]

owl::TEventSemaphore::TEventSemaphore ( LPCTSTR name,
bool inherit,
uint32 access = SEMAPHORE_ALL_ACCESS )
inline

Definition at line 1170 of file thread.h.

References owl::TSemaphore::Handle.

◆ TEventSemaphore() [4/5]

owl::TEventSemaphore::TEventSemaphore ( const tstring & name,
bool inherit,
uint32 access = SEMAPHORE_ALL_ACCESS )
inline

Definition at line 1179 of file thread.h.

References owl::TSemaphore::Handle.

◆ TEventSemaphore() [5/5]

owl::TEventSemaphore::TEventSemaphore ( THandle handle)
inline

Definition at line 1185 of file thread.h.

References owl::TSemaphore::Handle.

Member Function Documentation

◆ Pulse()

void owl::TEventSemaphore::Pulse ( )
inline

Definition at line 1202 of file thread.h.

◆ Reset()

void owl::TEventSemaphore::Reset ( )
inline

Definition at line 1197 of file thread.h.

◆ Set()

void owl::TEventSemaphore::Set ( )
inline

Definition at line 1192 of file thread.h.


The documentation for this class was generated from the following files: