SObjectizer  5.5
Classes | Namespaces | Typedefs | Enumerations | Functions
adv_thread_pool/pub.hpp File Reference

Public interface of advanced thread pool dispatcher. More...

#include <so_5/declspec.hpp>
#include <so_5/disp_binder.hpp>
#include <so_5/disp/mpmc_queue_traits/pub.hpp>
#include <so_5/disp/reuse/work_thread_activity_tracking.hpp>
#include <utility>
#include <thread>

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::impl::basic_dispatcher_iface_t
 The very basic interface of adv_thread_pool dispatcher. More...
 
class  so_5::disp::adv_thread_pool::dispatcher_handle_t
 A handle for adv_thread_pool 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.
 
 so_5::disp::adv_thread_pool::impl
 Internal implementation details of advanced thread pool dispatcher.
 

Typedefs

using so_5::disp::adv_thread_pool::impl::basic_dispatcher_iface_shptr_t = std::shared_ptr< basic_dispatcher_iface_t >
 

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_handle_t so_5::disp::adv_thread_pool::make_dispatcher ( environment_t &env, const std::string_view data_sources_name_base, disp_params_t disp_params)
 Create an instance of adv_thread_pool dispatcher. More...
 
dispatcher_handle_t so_5::disp::adv_thread_pool::make_dispatcher (environment_t &env, const std::string_view data_sources_name_base, std::size_t thread_count)
 Create an instance of adv_thread_pool dispatcher. More...
 
dispatcher_handle_t so_5::disp::adv_thread_pool::make_dispatcher (environment_t &env, std::size_t thread_count)
 Create an instance of adv_thread_pool dispatcher. More...
 
dispatcher_handle_t so_5::disp::adv_thread_pool::make_dispatcher (environment_t &env)
 Create an instance of adv_thread_pool dispatcher with the default count of work threads. More...
 

Detailed Description

Public interface of advanced thread pool dispatcher.

Since
v.5.4.0