SObjectizer
5.7
|
Common data for all work thread implementations. More...
#include <work_thread.hpp>
Public Member Functions | |
common_data_t (work_thread_holder_t thread_holder, queue_traits::lock_factory_t queue_lock_factory) | |
Public Attributes | |
work_thread_holder_t | m_thread_holder |
Working thread. More... | |
std::atomic< status_t > | m_status { status_t::stopped } |
Thread status flag. More... | |
Demand_Queue | m_queue |
Demands queue. More... | |
so_5::current_thread_id_t | m_thread_id |
ID of working thread. More... | |
demands_counter_t | m_demands_count = { 0 } |
A counter for calculating count of demands in the queue. More... | |
Common data for all work thread implementations.
|
inline |
demands_counter_t so_5::disp::reuse::work_thread::details::common_data_t< Demand_Queue >::m_demands_count = { 0 } |
A counter for calculating count of demands in the queue.
Demand_Queue so_5::disp::reuse::work_thread::details::common_data_t< Demand_Queue >::m_queue |
Demands queue.
std::atomic< status_t > so_5::disp::reuse::work_thread::details::common_data_t< Demand_Queue >::m_status { status_t::stopped } |
Thread status flag.
work_thread_holder_t so_5::disp::reuse::work_thread::details::common_data_t< Demand_Queue >::m_thread_holder |
Working thread.
so_5::current_thread_id_t so_5::disp::reuse::work_thread::details::common_data_t< Demand_Queue >::m_thread_id |
ID of working thread.