|
PACS System 0.1.0
PACS DICOM system library
|
Configuration options for the thread pool. More...
#include <thread_pool_interface.h>

Public Attributes | |
| std::size_t | min_threads = 2 |
| Minimum number of worker threads. | |
| std::size_t | max_threads = std::thread::hardware_concurrency() |
| Maximum number of worker threads. | |
| std::chrono::milliseconds | idle_timeout {30000} |
| Time before idle threads are terminated (for dynamic scaling) | |
| bool | use_lock_free_queue = true |
| Enable lock-free queue for higher throughput. | |
| std::string | pool_name = "pacs_thread_pool" |
| Thread pool name for logging. | |
Configuration options for the thread pool.
Definition at line 53 of file thread_pool_interface.h.
| std::chrono::milliseconds kcenon::pacs::integration::thread_pool_config::idle_timeout {30000} |
Time before idle threads are terminated (for dynamic scaling)
Definition at line 61 of file thread_pool_interface.h.
| std::size_t kcenon::pacs::integration::thread_pool_config::max_threads = std::thread::hardware_concurrency() |
Maximum number of worker threads.
Definition at line 58 of file thread_pool_interface.h.
Referenced by kcenon::pacs::network::pipeline::pipeline_coordinator::create_stage_pool(), and kcenon::pacs::integration::thread_pool_adapter::thread_pool_adapter().
| std::size_t kcenon::pacs::integration::thread_pool_config::min_threads = 2 |
Minimum number of worker threads.
Definition at line 55 of file thread_pool_interface.h.
Referenced by kcenon::pacs::network::pipeline::pipeline_coordinator::create_stage_pool(), kcenon::pacs::integration::thread_pool_adapter::get_thread_count(), and kcenon::pacs::integration::thread_pool_adapter::thread_pool_adapter().
| std::string kcenon::pacs::integration::thread_pool_config::pool_name = "pacs_thread_pool" |
Thread pool name for logging.
Definition at line 67 of file thread_pool_interface.h.
Referenced by kcenon::pacs::network::pipeline::pipeline_coordinator::create_stage_pool(), and kcenon::pacs::integration::thread_pool_adapter::thread_pool_adapter().
| bool kcenon::pacs::integration::thread_pool_config::use_lock_free_queue = true |
Enable lock-free queue for higher throughput.
Definition at line 64 of file thread_pool_interface.h.