ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
shutdown.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "../../shutdown_policy.hpp"
4#include "backend.hpp"
5
7{
8
9[[nodiscard]] constexpr auto
15
16} // namespace threadschedule::detail
Aggregates multiple thread_registry_backend instances into a single queryable view.
constexpr auto to_native(shutdown_policy policy) noexcept -> shutdown_policy_backend
Definition shutdown.hpp:10
shutdown_policy
Defines how pools handle pending work during shutdown.
@ drop_pending
Cancel/drop queued work that has not started yet.