Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
formatters.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2024, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
5#pragma once
6
54
55// Core type formatters
56// These headers define their formatter specializations inline
58
59// Include thread_pool_fmt.h with internal flag to suppress deprecation warning
60#define KCENON_THREAD_INTERNAL_INCLUDE
62#undef KCENON_THREAD_INTERNAL_INCLUDE
63
64// Note: thread_worker formatter is defined in thread_worker.h
65// Include it only when thread_worker functionality is needed
66
67// Typed pool formatters
68// These are template specializations defined in their respective headers
70
71// Note: typed_thread_pool_t and typed_thread_worker_t formatters are templates
72// and remain in their original headers for proper template instantiation
73
Job type definitions for the typed thread pool.
Generic formatter for enum types using user-provided converter functors.
Provides macros for generating std::formatter specializations.
Enumeration of thread lifecycle states (starting, running, stopping, stopped).
std::formatter specializations for thread_pool