libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
#include <pool_thread.hpp>
Public Member Functions | |
__stdcall | slave (exit_requested_type &exit_requested, typename signalled_work_queue_type::value_type &) noexcept(true) FORCE_INLINE |
~slave () noexcept(true) FORCE_INLINE | |
const statistics_type &__fastcall FORCE_INLINE | statistics () const noexcept(true) |
Public Member Functions inherited from jmmcg::ppd::pool::private_::pool_thread< thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >, PTT::template pool_thread_queue_details< pool_traits::work_distribution_mode_t::queue_model_t::pool_owns_queue >::exit_requested_type > | |
~pool_thread () noexcept(false) FORCE_INLINE | |
const tstring __fastcall | to_string () const noexcept(false) override final |
Public Member Functions inherited from jmmcg::ppd::private_::thread_base< thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode > ::thread_traits::api_params_type::api_type, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode > ::thread_traits::model_type > | |
virtual void __fastcall | create_running () noexcept(false) FORCE_INLINE |
Start the underlying kernel thread. More... | |
const thread_traits::api_params_type &__fastcall | params () const noexcept(true) FORCE_INLINE |
const thread_traits::api_params_type::suspend_count __fastcall | suspend () noexcept(true) FORCE_INLINE |
const thread_base< generic_traits::MS_Win32, heavyweight_threading >::thread_traits::api_params_type::suspend_count __fastcall | suspend () noexcept(true) |
const thread_traits::api_params_type::suspend_count __fastcall | resume () noexcept(true) FORCE_INLINE |
const thread_traits::api_params_type::states __fastcall | state () const noexcept(true) FORCE_INLINE |
bool __fastcall | is_running () const noexcept(true) FORCE_INLINE |
thread_traits::api_params_type::priority_type __fastcall | kernel_priority () const noexcept(false) FORCE_INLINE |
void __fastcall | kernel_priority (const typename thread_traits::api_params_type::priority_type priority) noexcept(false) FORCE_INLINE |
thread_traits::api_params_type::processor_mask_type __fastcall | kernel_affinity () const noexcept(false) FORCE_INLINE |
void __fastcall | kernel_affinity (const typename thread_traits::api_params_type::processor_mask_type &mask) noexcept(false) FORCE_INLINE |
Public Member Functions inherited from jmmcg::sp_counter_type< long, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >::lock_traits > | |
virtual | ~sp_counter_type () noexcept(true)=default |
void | deleter () override |
Call the correct deleter_t object to delete the object. More... | |
value_type | sp_count () const noexcept(true) override final |
atomic_ctr_t::value_type | sp_acquire () noexcept(true) override final |
bool | sp_release () noexcept(true) override final |
bool __fastcall | operator< (const value_type v) const noexcept(true) override |
bool __fastcall | operator> (const value_type v) const noexcept(true) override |
bool __fastcall | operator>= (const value_type v) const noexcept(true) override final |
tstring | sp_to_string () const noexcept(false) override final |
Definition at line 204 of file pool_thread.hpp.
typedef pool_thread<thread_os_traits<generic_traits::api_type::posix_pthreads, sequential_mode>, typename PTT::template pool_thread_queue_details<queue_model>::exit_requested_type> jmmcg::ppd::pool::private_::thread_types::slave< generic_traits::return_data::nonjoinable, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >, PTT >::base_t |
Definition at line 208 of file pool_thread.hpp.
Definition at line 217 of file pool_thread.hpp.
Definition at line 216 of file pool_thread.hpp.
typedef os_traits::lock_traits jmmcg::ppd::pool::private_::thread_types::slave< generic_traits::return_data::nonjoinable, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >, PTT >::lock_traits |
Definition at line 211 of file pool_thread.hpp.
typedef os_traits::thread_traits::model_type jmmcg::ppd::pool::private_::thread_types::slave< generic_traits::return_data::nonjoinable, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >, PTT >::model_type |
Definition at line 210 of file pool_thread.hpp.
Definition at line 209 of file pool_thread.hpp.
Definition at line 207 of file pool_thread.hpp.
using jmmcg::ppd::pool::private_::thread_types::slave< generic_traits::return_data::nonjoinable, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >, PTT >::signalled_work_queue_type = typename PTT::template pool_thread_queue_details<queue_model>::container_type |
Definition at line 214 of file pool_thread.hpp.
using jmmcg::ppd::pool::private_::thread_types::slave< generic_traits::return_data::nonjoinable, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >, PTT >::statistics_type = typename PTT::template pool_thread_queue_details<queue_model>::statistics_type |
Definition at line 215 of file pool_thread.hpp.
typedef os_traits::thread_traits jmmcg::ppd::pool::private_::thread_types::slave< generic_traits::return_data::nonjoinable, thread_os_traits< generic_traits::api_type::posix_pthreads, sequential_mode >, PTT >::thread_traits |
Definition at line 213 of file pool_thread.hpp.
Definition at line 212 of file pool_thread.hpp.
|
inlinenoexcept |
Definition at line 220 of file pool_thread.hpp.
Definition at line 223 of file pool_thread.hpp.
|
inlinenoexcept |
Definition at line 226 of file pool_thread.hpp.
|
staticconstexpr |
Definition at line 218 of file pool_thread.hpp.