|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Worker behavior policies and configuration. More...


Go to the source code of this file.
Classes | |
| struct | kcenon::thread::worker_policy |
| Worker behavior policy configuration. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::thread |
| Core threading foundation of the thread system library. | |
Enumerations | |
| enum class | kcenon::thread::worker_state { kcenon::thread::created , kcenon::thread::starting , kcenon::thread::active , kcenon::thread::idle , kcenon::thread::stopping , kcenon::thread::stopped } |
| Enumeration of worker states. More... | |
| enum class | kcenon::thread::scheduling_policy { kcenon::thread::fifo , kcenon::thread::lifo , kcenon::thread::priority , kcenon::thread::work_stealing } |
| Enumeration of scheduling policies. More... | |
| enum class | kcenon::thread::steal_policy { kcenon::thread::random , kcenon::thread::round_robin , kcenon::thread::adaptive } |
| Policy for selecting steal victims. More... | |
Functions | |
| constexpr const char * | kcenon::thread::to_string (worker_state state) |
| Convert worker state to string representation. | |
| constexpr const char * | kcenon::thread::to_string (scheduling_policy policy) |
| Convert scheduling policy to string representation. | |
| constexpr const char * | kcenon::thread::to_string (steal_policy policy) |
| Convert steal policy to string representation. | |
Worker behavior policies and configuration.
This file defines policies that control how worker threads behave, including scheduling strategies, idle handling, and work stealing.
Definition in file worker_policy.h.