|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Job type definitions for the typed thread pool. More...
#include <kcenon/thread/utils/formatter.h>#include <kcenon/thread/utils/convert_string.h>#include <string>#include <array>#include <cstdint>#include <string_view>

Go to the source code of this file.
Classes | |
| struct | std::formatter< kcenon::thread::job_types > |
Specialization of std::formatter for job_types using narrow strings. More... | |
| struct | std::formatter< kcenon::thread::job_types, wchar_t > |
Specialization of std::formatter for job_types using wide strings. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::thread |
| Core threading foundation of the thread system library. | |
| namespace | kcenon::thread::job_detail |
Enumerations | |
| enum class | kcenon::thread::job_types : uint8_t { kcenon::thread::RealTime , kcenon::thread::Batch , kcenon::thread::Background } |
| Defines different types of jobs for a typed thread pool. More... | |
Functions | |
| constexpr std::string_view | kcenon::thread::to_string (job_types job_type) |
Converts a job_types value to its corresponding string representation. | |
| auto | kcenon::thread::get_all_job_types (void) -> std::vector< job_types > |
Returns a vector containing all possible job_types values. | |
Variables | |
| constexpr std::array | kcenon::thread::job_detail::job_type_strings = { "REALTIME", "BATCH", "BACKGROUND" } |
String representations corresponding to each job_types value. | |
| constexpr size_t | kcenon::thread::job_detail::job_type_count = job_type_strings.size() |
The number of type levels defined in job_types. | |
Job type definitions for the typed thread pool.
Definition in file job_types.h.