Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::config::thread_config Struct Reference

Thread pool configuration. More...

#include <unified_config.h>

Collaboration diagram for kcenon::common::config::thread_config:
Collaboration graph

Public Attributes

size_t pool_size = 0
 Number of worker threads (default: hardware concurrency)
 
std::string queue_type = "lockfree"
 Queue type: "mutex", "lockfree", "bounded".
 
size_t max_queue_size = 10000
 Maximum queue size (for bounded queue)
 
std::string thread_name_prefix = "worker"
 Thread naming prefix.
 

Detailed Description

Thread pool configuration.

Definition at line 36 of file unified_config.h.

Member Data Documentation

◆ max_queue_size

◆ pool_size

size_t kcenon::common::config::thread_config::pool_size = 0

◆ queue_type

std::string kcenon::common::config::thread_config::queue_type = "lockfree"

◆ thread_name_prefix

std::string kcenon::common::config::thread_config::thread_name_prefix = "worker"

The documentation for this struct was generated from the following file: