A mixin which must be used as base class for timer threads.
More...
#include <all.hpp>
A mixin which must be used as base class for timer threads.
- Since
- v.1.1.0
◆ ensure_started()
| void timertt::details::thread_mixin::ensure_started |
( |
| ) |
|
|
inline |
Checks that timer thread is really started.
- Exceptions
-
| std::exception | if thread is not started. |
◆ notify()
| void timertt::details::thread_mixin::notify |
( |
| ) |
|
|
inline |
Sends notification to timer thread.
◆ m_condition
| std::condition_variable timertt::details::thread_mixin::m_condition |
Condition variable for waiting for next event.
◆ m_lock
| std::mutex timertt::details::thread_mixin::m_lock |
◆ m_thread
| std::shared_ptr< std::thread > timertt::details::thread_mixin::m_thread |
Underlying thread object.
- Note
- Will be created during timer thread start and destroyed after timer thread shutdown.
The documentation for this struct was generated from the following file: