OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/thread.h>
Public Member Functions | |
TLock (const TSemaphore &, ulong timeOut=NoLimit, bool alertable=false) | |
~TLock () | |
bool | WasAquired () const |
See if really aquired, or just timed-out. | |
void | Release (bool relinquish=false) |
Release lock early & relinquish, i.e. | |
|
inline |
|
inline |
Definition at line 1007 of file thread.h.
References owl::TSemaphore::Release().
Release lock early & relinquish, i.e.
before destructor. Or, just drop the lock count on an exiting semaphore & keep locked 'til dtor
Definition at line 1021 of file thread.h.
References CONST_CAST.
|
inline |