#include <manager.hpp>
◆ StuckTaskListener
◆ SummaryListener
◆ ThreadManager() [1/4]
| threadman::ThreadManager::ThreadManager |
( |
| ) |
|
|
inline |
◆ ThreadManager() [2/4]
| threadman::ThreadManager::ThreadManager |
( |
Options |
opts | ) |
|
|
inlineexplicit |
◆ ~ThreadManager()
| threadman::ThreadManager::~ThreadManager |
( |
| ) |
|
|
inline |
◆ ThreadManager() [3/4]
| threadman::ThreadManager::ThreadManager |
( |
const ThreadManager & |
| ) |
|
|
delete |
◆ ThreadManager() [4/4]
◆ build_summary()
◆ default_pool()
| ThreadPool & threadman::ThreadManager::default_pool |
( |
| ) |
|
|
inline |
◆ display_info()
| static const comms::DisplayInfo & threadman::ThreadManager::display_info |
( |
| ) |
|
|
inlinestatic |
◆ find_by_id()
| std::optional< ThreadSnapshot > threadman::ThreadManager::find_by_id |
( |
const std::uint64_t |
id | ) |
const |
|
inline |
◆ find_by_name()
| std::vector< ThreadSnapshot > threadman::ThreadManager::find_by_name |
( |
const std::string_view |
name | ) |
const |
|
inline |
◆ housekeeper_running()
| bool threadman::ThreadManager::housekeeper_running |
( |
| ) |
const |
|
inlinenoexcept |
◆ instance()
◆ make_future_wait_pool()
Create a FutureWaitPool attached to this manager.
The pool's backing ThreadPool registers here so the housekeeper drives its scaling; the caller owns the returned pool and its lifetime governs the workers.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ register_pool()
| void threadman::ThreadManager::register_pool |
( |
ThreadPool & |
p | ) |
|
|
inline |
◆ register_thread()
◆ snapshot_pools()
| std::vector< ThreadPoolStats > threadman::ThreadManager::snapshot_pools |
( |
| ) |
const |
|
inline |
◆ snapshot_threads()
| std::vector< ThreadSnapshot > threadman::ThreadManager::snapshot_threads |
( |
| ) |
const |
|
inline |
◆ start_housekeeper()
| void threadman::ThreadManager::start_housekeeper |
( |
| ) |
|
|
inline |
◆ stop_housekeeper()
| void threadman::ThreadManager::stop_housekeeper |
( |
| ) |
|
|
inlinenoexcept |
◆ stuck_task_count()
| std::size_t threadman::ThreadManager::stuck_task_count |
( |
| ) |
const |
|
inlinenoexcept |
Number of tasks currently flagged as stuck (and already reported) by the housekeeper.
Returns to zero once those tasks finish — the housekeeper reconciles its internal dedup set every tick. Primarily for observability and tests.
◆ subscribe_stuck_tasks()
◆ subscribe_summary()
◆ unregister_pool()
| void threadman::ThreadManager::unregister_pool |
( |
const std::uint64_t |
pool_id | ) |
|
|
inlinenoexcept |
◆ unregister_thread()
| void threadman::ThreadManager::unregister_thread |
( |
const std::uint64_t |
thread_id | ) |
|
|
inlinenoexcept |
The documentation for this class was generated from the following file: