Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
thread_info.h File Reference

Worker thread state information for diagnostics. More...

#include "job_info.h"
#include <chrono>
#include <cstdint>
#include <iomanip>
#include <optional>
#include <sstream>
#include <string>
#include <thread>
Include dependency graph for thread_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::diagnostics::thread_info
 Information about a worker thread in the pool. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 
namespace  kcenon::thread::diagnostics
 

Enumerations

enum class  kcenon::thread::diagnostics::worker_state { kcenon::thread::diagnostics::worker_state::idle , kcenon::thread::diagnostics::worker_state::active , kcenon::thread::diagnostics::worker_state::stopping , kcenon::thread::diagnostics::worker_state::stopped }
 Current state of a worker thread. More...
 

Functions

auto kcenon::thread::diagnostics::worker_state_to_string (worker_state state) -> std::string
 Converts worker_state to human-readable string.
 

Detailed Description

Worker thread state information for diagnostics.

See also
thread_pool_diagnostics

Definition in file thread_info.h.