#include <Sem.h>
Public Member Functions | |
void | post () |
Semaphore (size_t initial_value) | |
bool | tryWait () |
bool | wait () |
bool | wait (const icl_core::TimeSpan &timeout) |
bool | wait (const icl_core::TimeStamp &timeout) |
virtual | ~Semaphore () |
Private Attributes | |
SemaphoreImpl * | m_impl |
Additional Inherited Members | |
Protected Member Functions inherited from icl_core::Noncopyable | |
Noncopyable () | |
virtual | ~Noncopyable () |
icl_core::thread::Semaphore::Semaphore | ( | size_t | initial_value | ) |
void icl_core::thread::Semaphore::post | ( | ) |
bool icl_core::thread::Semaphore::tryWait | ( | ) |
bool icl_core::thread::Semaphore::wait | ( | ) |
bool icl_core::thread::Semaphore::wait | ( | const icl_core::TimeSpan & | timeout | ) |
bool icl_core::thread::Semaphore::wait | ( | const icl_core::TimeStamp & | timeout | ) |
|
private |