![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSemaphore.h>
Public Member Functions | |
cSemaphoreLock (cSemaphore &Sem) | |
cSemaphoreLock (cSemaphore &Sem, TIMESYSD_t tWait) | |
~cSemaphoreLock () | |
bool | isLocked () const |
bool | LockWait (TIMESYSD_t tWait=cTimeSys::k_INF) |
Hold a single lock on the cSemaphore for the lifetime of this object instance.
|
inline |
|
inline |
|
inline |
release my lock. if i have one.
|
inline |
|
inline |
Acquire a single lock on the semaphore.