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

Umbrella header for ThreadMan — pulls in every public type. More...

#include <threadman/config.hpp>
#include <threadman/display.hpp>
#include <threadman/exceptions.hpp>
#include <threadman/executor.hpp>
#include <threadman/future.hpp>
#include <threadman/future_wait_pool.hpp>
#include <threadman/log.hpp>
#include <threadman/manager.hpp>
#include <threadman/stats.hpp>
#include <threadman/task.hpp>
#include <threadman/thread.hpp>
#include <threadman/thread_pool.hpp>
#include <threadman/version.hpp>
Include dependency graph for threadman.hpp:

Go to the source code of this file.

Detailed Description

Umbrella header for ThreadMan — pulls in every public type.

Including this is always safe: the optional nlohmann/json hooks and the parcel adapter are gated behind THREADMAN_WITH_NLOHMANN_JSON / THREADMAN_WITH_PARCEL (see threadman/config.hpp) and stay inert when the corresponding integrations are absent.

Logger initialization is the consumer's responsibility — call logman::initialize(...) (and optionally logman::set_levels_by_prefix( "tm.", level)) once at startup. ThreadMan only calls logman::get(...), which lazily creates the channel using whatever defaults logman has.