threadman 0.1.0
Header-only C++23 managed threads, dynamic pools, futures, and executors
Loading...
Searching...
No Matches
Classes | Namespaces
display.hpp File Reference

Re-export <commons/display_info.hpp> and attach non-intrusive comms::HasDisplayInfo<> specializations for the enums defined in <threadman/stats.hpp>. More...

#include <threadman/stats.hpp>
#include <commons/display_info.hpp>
Include dependency graph for display.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  comms::HasDisplayInfo<::threadman::ThreadState >
 
struct  comms::HasDisplayInfo<::threadman::TaskState >
 
struct  comms::HasDisplayInfo<::threadman::PoolState >
 

Namespaces

namespace  comms
 

Detailed Description

Re-export <commons/display_info.hpp> and attach non-intrusive comms::HasDisplayInfo<> specializations for the enums defined in <threadman/stats.hpp>.

Every other major type (ManagedThread, TaskHandle, Future, SharedFuture, IExecutor, ThreadPool, ThreadManager) exposes an intrusive static const comms::DisplayInfo& display_info() member so that comms::display_info<T>() returns its trait via the primary template.