|
SObjectizer-5 Extra
|
Implementation of Asio's Thread Pool dispatcher. More...
#include <so_5_extra/error_ranges.hpp>#include <so_5/rt/h/disp_binder.hpp>#include <so_5/rt/h/send_functions.hpp>#include <so_5/disp/reuse/h/work_thread_activity_tracking.hpp>#include <so_5/disp/reuse/h/disp_binder_helpers.hpp>#include <so_5/disp/reuse/h/data_source_prefix_helpers.hpp>#include <so_5/rt/stats/h/repository.hpp>#include <so_5/rt/stats/h/messages.hpp>#include <so_5/rt/stats/h/std_names.hpp>#include <so_5/rt/stats/impl/h/activity_tracking.hpp>#include <so_5/details/h/invoke_noexcept_code.hpp>#include <so_5/details/h/rollback_on_exception.hpp>#include <so_5/details/h/abort_on_fatal_error.hpp>#include <so_5/h/outliving.hpp>#include <asio/io_context.hpp>#include <asio/io_context_strand.hpp>#include <asio/post.hpp>Go to the source code of this file.
Namespaces | |
| so_5 | |
| Ranges for error codes of each submodules. | |
| so_5::extra | |
| so_5::extra::disp | |
| so_5::extra::disp::asio_thread_pool | |
| so_5::extra::disp::asio_thread_pool::errors | |
| so_5::extra::disp::asio_thread_pool::impl | |
Typedefs | |
| using | so_5::extra::disp::asio_thread_pool::private_dispatcher_handle_t = ::so_5::intrusive_ptr_t< private_dispatcher_t > |
| A handle for the asio_thread_pool private dispatcher. More... | |
| using | so_5::extra::disp::asio_thread_pool::impl::demands_counter_t = std::atomic< std::size_t > |
| Type of atomic counter for counting waiting demands. More... | |
| using | so_5::extra::disp::asio_thread_pool::impl::private_dispatcher_binder_t = ::so_5::disp::reuse::binder_for_private_disp_template_t< private_dispatcher_handle_t, actual_disp_iface_t, binding_actions_mixin_t > |
| A binder for the private asio_thread_pool dispatcher. More... | |
Functions | |
| std::size_t | so_5::extra::disp::asio_thread_pool::default_thread_pool_size () |
| A helper function for detecting default thread count for thread pool. More... | |
| template<typename Traits = default_traits_t> | |
| private_dispatcher_handle_t | so_5::extra::disp::asio_thread_pool::create_private_disp (environment_t &env, const std::string &data_sources_name_base, disp_params_t disp_params) |
| A function for creation an instance of private dispatcher. More... | |
Variables | |
| const int | so_5::extra::disp::asio_thread_pool::errors::rc_io_context_is_not_set |
| Asio IoService is not set for asio_thread_pool dispatcher. More... | |
1.8.14