SObjectizer
5.7
|
Public interface of 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 <so_5/disp/reuse/work_thread_factory_params.hpp>
#include <string_view>
#include <thread>
#include <utility>
Go to the source code of this file.
Classes | |
class | so_5::disp::thread_pool::disp_params_t |
Alias for namespace with traits of event queue. More... | |
class | so_5::disp::thread_pool::bind_params_t |
Parameters for binding agents to thread_pool dispatcher. More... | |
class | so_5::disp::thread_pool::impl::basic_dispatcher_iface_t |
The very basic interface of thread_pool dispatcher. More... | |
class | so_5::disp::thread_pool::dispatcher_handle_t |
A handle for thread_pool dispatcher. More... | |
Namespaces | |
so_5 | |
Public part of message limit implementation. | |
so_5::disp | |
Event dispatchers. | |
so_5::disp::thread_pool | |
Thread pool dispatcher. | |
so_5::disp::thread_pool::impl | |
Internal implementation details of thread pool dispatcher. | |
Typedefs | |
using | so_5::disp::thread_pool::impl::basic_dispatcher_iface_shptr_t = std::shared_ptr< basic_dispatcher_iface_t > |
Enumerations | |
enum | so_5::disp::thread_pool::fifo_t { so_5::disp::thread_pool::fifo_t::cooperation, so_5::disp::thread_pool::fifo_t::individual } |
Type of FIFO mechanism for agent's demands. More... | |
Functions | |
std::size_t | so_5::disp::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::thread_pool::make_dispatcher ( environment_t &env, const std::string_view data_sources_name_base, disp_params_t disp_params) |
Create an instance thread_pool dispatcher. More... | |
dispatcher_handle_t | so_5::disp::thread_pool::make_dispatcher (environment_t &env, const std::string_view data_sources_name_base, std::size_t thread_count) |
Create an instance of thread_pool dispatcher. More... | |
dispatcher_handle_t | so_5::disp::thread_pool::make_dispatcher (environment_t &env, std::size_t thread_count) |
Create an instance of thread_pool dispatcher. More... | |
dispatcher_handle_t | so_5::disp::thread_pool::make_dispatcher (environment_t &env) |
Create an instance of thread_pool dispatcher with the default count of working threads. More... | |
Public interface of thread pool dispatcher.