SObjectizer
5.5
|
Public interface of advanced thread pool dispatcher. More...
#include <so_5/h/declspec.hpp>
#include <so_5/rt/h/disp_binder.hpp>
#include <so_5/disp/mpmc_queue_traits/h/pub.hpp>
#include <so_5/disp/reuse/h/work_thread_activity_tracking.hpp>
#include <utility>
Go to the source code of this file.
Classes | |
class | so_5::disp::adv_thread_pool::disp_params_t |
Alias for namespace with traits of event queue. More... | |
class | so_5::disp::adv_thread_pool::bind_params_t |
Parameters for binding agents to adv_thread_pool dispatcher. More... | |
class | so_5::disp::adv_thread_pool::private_dispatcher_t |
An interface for adv_thread_pool private dispatcher. More... | |
Namespaces | |
so_5 | |
Public part of message limit implementation. | |
so_5::disp | |
Event dispatchers. | |
so_5::disp::adv_thread_pool | |
Advanced thread pool dispatcher. | |
Typedefs | |
using | so_5::disp::adv_thread_pool::params_t = bind_params_t |
Alias for bind_params. More... | |
using | so_5::disp::adv_thread_pool::private_dispatcher_handle_t = so_5::intrusive_ptr_t< private_dispatcher_t > |
A handle for the adv_thread_pool private dispatcher. More... | |
Enumerations | |
enum | so_5::disp::adv_thread_pool::fifo_t { so_5::disp::adv_thread_pool::fifo_t::cooperation, so_5::disp::adv_thread_pool::fifo_t::individual } |
Type of FIFO mechanism for agent's demands. More... | |
Functions | |
std::size_t | so_5::disp::adv_thread_pool::default_thread_pool_size () |
A helper function for detecting default thread count for thread pool. More... | |
SO_5_FUNC dispatcher_unique_ptr_t | so_5::disp::adv_thread_pool::create_disp ( disp_params_t params) |
Create adv_thread_pool dispatcher instance to be used as named dispatcher. More... | |
dispatcher_unique_ptr_t | so_5::disp::adv_thread_pool::create_disp (std::size_t thread_count) |
Create thread pool dispatcher. More... | |
dispatcher_unique_ptr_t | so_5::disp::adv_thread_pool::create_disp () |
Create thread pool dispatcher. More... | |
SO_5_FUNC private_dispatcher_handle_t | so_5::disp::adv_thread_pool::create_private_disp ( environment_t &env, disp_params_t disp_params, const std::string &data_sources_name_base) |
Create a private adv_thread_pool dispatcher. More... | |
private_dispatcher_handle_t | so_5::disp::adv_thread_pool::create_private_disp (environment_t &env, const std::string &data_sources_name_base, disp_params_t disp_params) |
Create a private adv_thread_pool dispatcher. More... | |
private_dispatcher_handle_t | so_5::disp::adv_thread_pool::create_private_disp (environment_t &env, std::size_t thread_count, const std::string &data_sources_name_base) |
Create a private adv_thread_pool dispatcher. More... | |
private_dispatcher_handle_t | so_5::disp::adv_thread_pool::create_private_disp (environment_t &env, std::size_t thread_count) |
Create a private adv_thread_pool dispatcher. More... | |
private_dispatcher_handle_t | so_5::disp::adv_thread_pool::create_private_disp (environment_t &env) |
Create a private adv_thread_pool dispatcher with the default count of working threads. More... | |
SO_5_FUNC disp_binder_unique_ptr_t | so_5::disp::adv_thread_pool::create_disp_binder ( std::string disp_name, const bind_params_t ¶ms) |
Create dispatcher binder for thread pool dispatcher. More... | |
template<typename Setter > | |
disp_binder_unique_ptr_t | so_5::disp::adv_thread_pool::create_disp_binder (std::string disp_name, Setter params_setter) |
Create dispatcher binder for thread pool dispatcher. More... | |
Public interface of advanced thread pool dispatcher.