|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Factory for creating IExecutor adapters from thread_pool instances. More...
#include <common_executor_adapter.h>

Static Public Member Functions | |
| static std::shared_ptr< common::interfaces::IExecutor > | create_from_thread_pool (std::shared_ptr< kcenon::thread::thread_pool > pool) |
| Create an IExecutor adapter from a thread_pool. | |
Factory for creating IExecutor adapters from thread_pool instances.
Provides a convenient way to create thread_pool_executor_adapter instances.
Definition at line 411 of file common_executor_adapter.h.
|
inlinestatic |
Create an IExecutor adapter from a thread_pool.
| pool | The thread_pool to wrap |
Definition at line 419 of file common_executor_adapter.h.