OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Counted semaphore. Currently Win32 only. More...
#include <owl/thread.h>
Public Member Functions | |
TCountedSemaphore (int initialCount, int maxCount, LPCTSTR name=nullptr, LPSECURITY_ATTRIBUTES sa=nullptr) | |
TCountedSemaphore (int initialCount, int maxCount, const tstring &name, LPSECURITY_ATTRIBUTES sa=nullptr) | |
TCountedSemaphore (LPCTSTR name, bool inherit, uint32 access=SEMAPHORE_ALL_ACCESS) | |
TCountedSemaphore (const tstring &name, bool inherit, uint32 access=SEMAPHORE_ALL_ACCESS) | |
TCountedSemaphore (THandle handle) | |
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. | |
|
inline |
Definition at line 1113 of file thread.h.
References owl::TSemaphore::Handle.
|
inline |
Definition at line 1123 of file thread.h.
References owl::TSemaphore::Handle.
|
inline |
Definition at line 1129 of file thread.h.
References owl::TSemaphore::Handle.
|
inline |
Definition at line 1138 of file thread.h.
References owl::TSemaphore::Handle.
|
inline |
Definition at line 1144 of file thread.h.
References owl::TSemaphore::Handle.