|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Variables | |
| constexpr std::array | thread_conditions_strings = { "created", "waiting", "working", "stopping", "stopped" } |
Array of string representations corresponding to each thread_conditions state. | |
| constexpr size_t | thread_conditions_count = thread_conditions_strings.size() |
Total number of states defined in thread_conditions. | |
| constexpr std::array | job_type_strings = { "REALTIME", "BATCH", "BACKGROUND" } |
String representations corresponding to each job_types value. | |
| constexpr size_t | job_type_count = job_type_strings.size() |
The number of type levels defined in job_types. | |
|
constexpr |
The number of type levels defined in job_types.
Used in boundary checks to prevent out-of-range access into job_type_strings.
Definition at line 56 of file job_types.h.
Referenced by kcenon::thread::to_string().
|
constexpr |
String representations corresponding to each job_types value.
Indexed by casting a job_types value to size_t. E.g.,
Definition at line 49 of file job_types.h.
Referenced by kcenon::thread::to_string().
|
constexpr |
Total number of states defined in thread_conditions.
Definition at line 63 of file thread_conditions.h.
Referenced by kcenon::thread::to_string().
|
constexpr |
Array of string representations corresponding to each thread_conditions state.
This array is indexed by the underlying enum value cast to size_t, allowing compile-time string retrieval in to_string().
Definition at line 57 of file thread_conditions.h.
Referenced by kcenon::thread::to_string().