#include <timer_queue.h>
Public Member Functions | |
void | notify () |
Semaphore (unsigned int count=0) | |
void | wait () |
template<class Clock , class Duration > | |
bool | waitUntil (const std::chrono::time_point< Clock, Duration > &point) |
Private Attributes | |
unsigned int | m_count |
std::condition_variable | m_cv |
std::mutex | m_mtx |
Definition at line 17 of file timer_queue.h.
BT::details::Semaphore::Semaphore | ( | unsigned int | count = 0 | ) | [inline] |
Definition at line 20 of file timer_queue.h.
void BT::details::Semaphore::notify | ( | ) | [inline] |
Definition at line 24 of file timer_queue.h.
void BT::details::Semaphore::wait | ( | ) | [inline] |
Definition at line 31 of file timer_queue.h.
bool BT::details::Semaphore::waitUntil | ( | const std::chrono::time_point< Clock, Duration > & | point | ) | [inline] |
Definition at line 39 of file timer_queue.h.
unsigned int BT::details::Semaphore::m_count [private] |
Definition at line 51 of file timer_queue.h.
std::condition_variable BT::details::Semaphore::m_cv [private] |
Definition at line 50 of file timer_queue.h.
std::mutex BT::details::Semaphore::m_mtx [private] |
Definition at line 49 of file timer_queue.h.