#include <SemaphoreImplPosix.h>
Public Member Functions | |
virtual void | post () |
SemaphoreImplPosix (size_t initial_value) | |
virtual bool | tryWait () |
virtual bool | wait () |
virtual bool | wait (const icl_core::TimeSpan &timeout) |
virtual bool | wait (const icl_core::TimeStamp &timeout) |
virtual | ~SemaphoreImplPosix () |
Private Attributes | |
sem_t * | m_semaphore |
Definition at line 25 of file icl_core_thread/SemaphoreImplPosix.h.
icl_core::thread::SemaphoreImplPosix::SemaphoreImplPosix | ( | size_t | initial_value | ) |
Definition at line 18 of file icl_core_thread/SemaphoreImplPosix.cpp.
Definition at line 25 of file icl_core_thread/SemaphoreImplPosix.cpp.
void icl_core::thread::SemaphoreImplPosix::post | ( | ) | [virtual] |
Implements icl_core::thread::SemaphoreImpl.
Definition at line 35 of file icl_core_thread/SemaphoreImplPosix.cpp.
bool icl_core::thread::SemaphoreImplPosix::tryWait | ( | ) | [virtual] |
Implements icl_core::thread::SemaphoreImpl.
Definition at line 40 of file icl_core_thread/SemaphoreImplPosix.cpp.
bool icl_core::thread::SemaphoreImplPosix::wait | ( | ) | [virtual] |
Implements icl_core::thread::SemaphoreImpl.
Definition at line 46 of file icl_core_thread/SemaphoreImplPosix.cpp.
bool icl_core::thread::SemaphoreImplPosix::wait | ( | const icl_core::TimeSpan & | timeout | ) | [virtual] |
Implements icl_core::thread::SemaphoreImpl.
Definition at line 52 of file icl_core_thread/SemaphoreImplPosix.cpp.
bool icl_core::thread::SemaphoreImplPosix::wait | ( | const icl_core::TimeStamp & | timeout | ) | [virtual] |
Implements icl_core::thread::SemaphoreImpl.
Definition at line 57 of file icl_core_thread/SemaphoreImplPosix.cpp.
sem_t* icl_core::thread::SemaphoreImplPosix::m_semaphore [private] |
Definition at line 38 of file icl_core_thread/SemaphoreImplPosix.h.