|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
Adapter that bridges thread_system::thread_pool to thread_pool_interface. More...
#include <kcenon/network/detail/config/feature_flags.h>#include "kcenon/network/integration/thread_integration.h"#include <memory>#include <future>#include <string>#include <functional>#include <chrono>

Go to the source code of this file.
Classes | |
| struct | kcenon::network::integration::thread_system_pool_adapter_unavailable |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::network |
| Main namespace for all Network System components. | |
| namespace | kcenon::network::integration |
Adapter that bridges thread_system::thread_pool to thread_pool_interface.
This optional adapter lets NetworkSystem use thread_system's thread_pool via the existing thread_integration API, strengthening DI/scheduling consistency. Enabled when KCENON_WITH_THREAD_SYSTEM is defined.
When THREAD_HAS_COMMON_EXECUTOR is available (i.e., common_system is integrated), delayed task scheduling is delegated directly to thread_pool::submit_delayed, eliminating the need for any std::thread usage in this adapter.
Definition in file thread_system_adapter.h.