OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Base class for handle-based thread synchronization classes, TMutex, TCountedSemaphore and TEventSemaphore. More...
#include <owl/thread.h>
Classes | |
class | TLock |
Public Types | |
enum | { NoWait = 0 , NoLimit = INFINITE } |
typedef HANDLE | THandle |
Public Member Functions | |
virtual | ~TSemaphore () |
operator THandle () const | |
Protected Member Functions | |
virtual void | Release ()=0 |
Derived class must provide release. | |
Protected Attributes | |
THandle | Handle |
Derived class must initialize. | |
Friends | |
class | TLock |
class | TSemaphoreSet |
Base class for handle-based thread synchronization classes, TMutex, TCountedSemaphore and TEventSemaphore.
Defines some types & constants, as well as holding the system object handle for Win32.
|
inlinevirtual |
|
inline |
Derived class must provide release.
Implemented in owl::TWaitableTimer.
|
friend |
|
protected |