ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
worker_count.hpp File Reference
#include <algorithm>
#include <cstddef>
#include <stdexcept>
#include <thread>
Include dependency graph for detail/pool/worker_count.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  threadschedule
 
namespace  threadschedule::detail
 Aggregates multiple thread_registry_backend instances into a single queryable view.
 

Functions

auto threadschedule::detail::default_worker_count () noexcept -> std::size_t
 
auto threadschedule::detail::checked_worker_count (std::size_t count) -> std::size_t