SObjectizer-5 Extra
|
Namespaces | |
errors | |
impl | |
Classes | |
struct | default_traits_t |
Default traits of asio_thread_pool dispatcher. More... | |
class | disp_params_t |
Parameters for asio_thread_pool dispatcher. More... | |
class | dispatcher_handle_t |
A handle for asio_thread_pool dispatcher. More... | |
Functions | |
std::size_t | default_thread_pool_size () |
A helper function for detecting default thread count for thread pool. More... | |
template<typename Traits = default_traits_t> | |
SO_5_NODISCARD dispatcher_handle_t | make_dispatcher (environment_t &env, const std::string_view data_sources_name_base, disp_params_t disp_params) |
A function for creation an instance of asio_thread_pool dispatcher. More... | |
|
inline |
|
inline |
A function for creation an instance of asio_thread_pool dispatcher.
Usage examples:
Traits | Type with traits for a dispatcher. For the requirements for Traits type see the section "Requirements for traits type" above. |
env | SObjectizer Environment to work in. |
data_sources_name_base | Value for creating names of data sources for run-time monitoring. |
disp_params | Parameters for the dispatcher. |