HDK
|
#include <IlmThreadSemaphore.h>
Public Member Functions | |
ILMTHREAD_EXPORT | Semaphore (unsigned int value=0) |
virtual ILMTHREAD_EXPORT | ~Semaphore () |
ILMTHREAD_EXPORT void | wait () |
ILMTHREAD_EXPORT bool | tryWait () |
ILMTHREAD_EXPORT void | post () |
ILMTHREAD_EXPORT int | value () const |
Definition at line 60 of file IlmThreadSemaphore.h.
ILMTHREAD_EXPORT Semaphore::Semaphore | ( | unsigned int | value = 0 | ) |
|
virtual |
ILMTHREAD_EXPORT void Semaphore::post | ( | ) |
ILMTHREAD_EXPORT bool Semaphore::tryWait | ( | ) |
ILMTHREAD_EXPORT int Semaphore::value | ( | ) | const |
ILMTHREAD_EXPORT void Semaphore::wait | ( | ) |