|
threadman 0.1.0
Header-only C++23 managed threads, dynamic pools, futures, and executors
|
nlohmann/json serialization hooks for the snapshot value-types and their enums. More...
#include <threadman/config.hpp>#include <threadman/stats.hpp>#include <nlohmann/json.hpp>#include <chrono>

Go to the source code of this file.
Namespaces | |
| namespace | threadman |
Functions | |
| threadman::NLOHMANN_JSON_SERIALIZE_ENUM (ThreadState, { {ThreadState::Starting, "starting"}, {ThreadState::Running, "running"}, {ThreadState::Idle, "idle"}, {ThreadState::Retiring, "retiring"}, {ThreadState::Completed, "completed"}, {ThreadState::Failed, "failed"}, }) NLOHMANN_JSON_SERIALIZE_ENUM(TaskState | |
nlohmann/json serialization hooks for the snapshot value-types and their enums.
Gated by THREADMAN_WITH_NLOHMANN_JSON.