28#include <condition_variable>
91using ::kcenon::thread::thread_config;
94using ::kcenon::thread::error_code;
95using ::kcenon::thread::make_error;
96using ::kcenon::thread::is_retriable;
99using ::kcenon::thread::cancellation_token;
100using ::kcenon::thread::cancellation_token_source;
103using ::kcenon::thread::sync::spin_lock;
104using ::kcenon::thread::sync::scoped_spin_lock;
115using ::kcenon::thread::hazard_pointer;
116using ::kcenon::thread::safe_hazard_pointer;
117using ::kcenon::thread::atomic_shared_ptr;
128using ::kcenon::thread::job;
129using ::kcenon::thread::callback_job;
130using ::kcenon::thread::job_priority;
141using ::kcenon::thread::thread_base;
142using ::kcenon::thread::thread_worker;
143using ::kcenon::thread::thread_pool;
146using ::kcenon::thread::start_condition;
147using ::kcenon::thread::stop_condition;
150using ::kcenon::thread::worker_policy;
151using ::kcenon::thread::steal_policy;
154using ::kcenon::thread::pool_traits;
155using ::kcenon::thread::is_pool_like;
166using ::kcenon::thread::when_all;
167using ::kcenon::thread::when_any;
168using ::kcenon::thread::future_status_result;
179using ::kcenon::thread::configuration_manager;
180using ::kcenon::thread::service_registry;
183using ::kcenon::thread::log_level;
184using ::kcenon::thread::thread_logger;
187using ::kcenon::thread::event_bus;
198using ::kcenon::thread::thread_context;
199using ::kcenon::thread::scheduler_interface;
200using ::kcenon::thread::error_handler;
201using ::kcenon::thread::crash_handler;
202using ::kcenon::thread::service_container;
213using ::kcenon::thread::metrics::ThreadPoolMetrics;
214using ::kcenon::thread::metrics::WorkerMetrics;
225#if __cpp_concepts >= 201907L
226using ::kcenon::thread::concepts::Executable;
227using ::kcenon::thread::concepts::JobLike;
228using ::kcenon::thread::concepts::PoolLike;
240using ::utility_module::convert_string;
Thread-safe atomic shared_ptr wrapper with explicit memory ordering.
C++17-compatible atomic wait/notify implementation.
Specialized job class that encapsulates user-defined callbacks.
Backward-compatible type aliases for renamed thread system components.
Runtime configuration management with typed key-value storage.
Central configuration for thread_pool module.
Job priority levels and type definitions for type-based scheduling.
Core thread pool implementation with work stealing and auto-scaling.
Crash safety levels and handler interface for thread failure recovery.
Error handler interface for customizable error handling strategies.
Type-safe publish-subscribe event bus for thread system events.
Forward declarations for thread system types.
Future and promise utilities for thread pool.
Hazard pointer implementation for lock-free memory reclamation.
Implementation of a cancellation token for cooperative cancellation.
Error codes and utilities for the thread system.
RAII-based synchronization primitives including scoped lock with timeout.
String encoding conversion, Base64 encoding/decoding utilities.
Base job class for schedulable work units in the thread system.
Logging severity levels for the thread system.
Core threading foundation of the thread system library.
Type traits and metaprogramming utilities for thread pool.
Thread-local hazard pointer with explicit memory ordering for safe reclamation.
Abstract scheduler interface for queuing and retrieving jobs.
Service container for dependency injection within the thread system.
Lightweight service registry for dependency lookup within the thread system.
C++17-compatible synchronization primitives with C++20 fallback.
Foundational worker thread class with lifecycle management.
C++20 Concepts for thread_system.
Enumeration of thread lifecycle states (starting, running, stopping, stopped).
Context object providing access to optional thread system services.
Internal logging interface for the thread system.
Lightweight metrics container shared between thread_pool and workers.
Specialized worker thread that processes jobs from a job_queue.
Worker behavior policies and configuration.