Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
database::integrated::db_thread_config Struct Reference

Thread pool configuration for async operations. More...

#include <configuration.h>

Collaboration diagram for database::integrated::db_thread_config:
Collaboration graph

Public Attributes

std::string pool_name { "db_thread_pool" }
 Name for this thread pool (for logging and monitoring)
 
std::size_t thread_count { 0 }
 Number of worker threads (0 = auto-detect from hardware)
 
std::size_t max_queue_size { 1000 }
 Maximum queued tasks (0 = unlimited)
 
bool enable_priority_scheduling { false }
 Enable priority-based task scheduling.
 
thread_pool_type pool_type { thread_pool_type::standard }
 Thread pool implementation type.
 

Detailed Description

Thread pool configuration for async operations.

Configures the thread pool used for asynchronous query execution.

Examples
/home/runner/work/database_system/database_system/database/integrated/adapters/thread_adapter.h, and /home/runner/work/database_system/database_system/database/integrated/core/configuration.h.

Definition at line 122 of file configuration.h.

Member Data Documentation

◆ enable_priority_scheduling

◆ max_queue_size

◆ pool_name

std::string database::integrated::db_thread_config::pool_name { "db_thread_pool" }

◆ pool_type

◆ thread_count


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