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

Stable public include for thread pool diagnostics. More...

Include dependency graph for diagnostics.h:

Go to the source code of this file.

Detailed Description

Stable public include for thread pool diagnostics.

This umbrella header provides a stable include path for all diagnostics types. Downstream code should include this header rather than individual diagnostic headers.

auto pool = std::make_shared<kcenon::thread::thread_pool>("MyPool");
pool->start();
auto& diag = pool->diagnostics();
auto health = diag.health_check();
if (!health.is_operational()) {
std::cerr << diag.format_thread_dump() << std::endl;
}
Stable public include for thread pool diagnostics.

Definition in file diagnostics.h.