Alexandria 2.31.4
SDC-CH common library for the Euclid project
|
Public Member Functions | |
SemaphoreImpl (unsigned int i) | |
~SemaphoreImpl () | |
void | post () |
void | wait () |
bool | try_acquire () |
bool | try_acquire_until (std::chrono::system_clock::time_point abs_time) |
SemaphoreImpl (unsigned int i) | |
~SemaphoreImpl () | |
void | post () |
void | wait () |
bool | try_acquire () |
bool | try_acquire_until (std::chrono::system_clock::time_point abs_time) |
Private Member Functions | |
bool | timed_wait (const mach_timespec_t &wait) |
Private Attributes | |
semaphore_t | m_semaphore |
sem_t | m_semaphore |
Definition at line 27 of file SemaphoreMach.icpp.
|
inlineexplicit |
Definition at line 29 of file SemaphoreMach.icpp.
References m_semaphore, and std::system_category().
|
inline |
Definition at line 36 of file SemaphoreMach.icpp.
References m_semaphore.
|
inlineexplicit |
Definition at line 26 of file SemaphorePosix.icpp.
References m_semaphore, and std::system_category().
|
inline |
Definition at line 32 of file SemaphorePosix.icpp.
References m_semaphore.
|
inline |
Definition at line 40 of file SemaphoreMach.icpp.
References m_semaphore, and std::system_category().
|
inline |
Definition at line 36 of file SemaphorePosix.icpp.
References m_semaphore, and std::system_category().
|
inlineprivate |
Definition at line 80 of file SemaphoreMach.icpp.
References m_semaphore, std::system_category(), and wait().
Referenced by try_acquire(), and try_acquire_until().
|
inline |
Definition at line 59 of file SemaphoreMach.icpp.
References timed_wait(), and wait().
|
inline |
Definition at line 48 of file SemaphorePosix.icpp.
References m_semaphore, and std::system_category().
|
inline |
Definition at line 64 of file SemaphoreMach.icpp.
References std::chrono::duration_cast(), std::chrono::system_clock::now(), timed_wait(), and wait().
|
inline |
Definition at line 58 of file SemaphorePosix.icpp.
References m_semaphore, std::system_category(), and std::chrono::time_point_cast().
|
inline |
Definition at line 46 of file SemaphoreMach.icpp.
References m_semaphore, and std::system_category().
Referenced by timed_wait(), try_acquire(), and try_acquire_until().
|
inline |
Definition at line 42 of file SemaphorePosix.icpp.
References m_semaphore, and std::system_category().
|
private |
Definition at line 78 of file SemaphoreMach.icpp.
Referenced by post(), SemaphoreImpl(), timed_wait(), try_acquire(), try_acquire_until(), wait(), and ~SemaphoreImpl().
|
private |
Definition at line 77 of file SemaphorePosix.icpp.