|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Configuration for backpressure and queue overflow policies. More...
#include "job.h"#include <atomic>#include <chrono>#include <cstddef>#include <cstdint>#include <functional>#include <memory>#include <string>

Go to the source code of this file.
Classes | |
| struct | kcenon::thread::backpressure_config |
| Configuration for backpressure mechanisms. More... | |
| struct | kcenon::thread::backpressure_stats_snapshot |
| Snapshot of backpressure statistics (copyable). More... | |
| struct | kcenon::thread::backpressure_stats |
| Thread-safe statistics for backpressure operations. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::thread |
| Core threading foundation of the thread system library. | |
Enumerations | |
| enum class | kcenon::thread::backpressure_policy { kcenon::thread::backpressure_policy::block , kcenon::thread::backpressure_policy::drop_oldest , kcenon::thread::backpressure_policy::drop_newest , kcenon::thread::backpressure_policy::callback , kcenon::thread::backpressure_policy::adaptive } |
| Policy for handling queue overflow conditions. More... | |
| enum class | kcenon::thread::backpressure_decision { kcenon::thread::backpressure_decision::accept , kcenon::thread::backpressure_decision::reject , kcenon::thread::backpressure_decision::drop_and_accept , kcenon::thread::backpressure_decision::delay } |
| Decision returned by callback policy handler. More... | |
| enum class | kcenon::thread::pressure_level { kcenon::thread::pressure_level::none , kcenon::thread::pressure_level::low , kcenon::thread::pressure_level::high , kcenon::thread::pressure_level::critical } |
| Current pressure level for graduated response. More... | |
Functions | |
| auto | kcenon::thread::pressure_level_to_string (pressure_level level) -> std::string |
| Converts pressure_level to human-readable string. | |
| auto | kcenon::thread::backpressure_policy_to_string (backpressure_policy policy) -> std::string |
| Converts backpressure_policy to human-readable string. | |
Configuration for backpressure and queue overflow policies.
Definition in file backpressure_config.h.