3#include "../detail/scheduled/backend.hpp"
4#include "../detail/scheduled/facade.hpp"
16 :
base(count, registration)
raw_scheduled_pool(worker_count count=worker_count::automatic(), worker_registration registration=worker_registration::disabled)
auto configure_workers(thread_config const &config) -> result< void >
auto shutdown(shutdown_policy policy=shutdown_policy::drain) -> result< void >
auto schedule_at(std::chrono::steady_clock::time_point time, F &&function) -> result< scheduled_task >
auto schedule_periodic_after(std::chrono::duration< InitialRep, InitialPeriod > initial_delay, std::chrono::duration< IntervalRep, IntervalPeriod > interval, F &&function) -> result< scheduled_task >
auto configure_scheduler(thread_config const &config) -> result< void >
auto schedule_periodic(std::chrono::duration< Rep, Period > interval, F &&function) -> result< scheduled_task >
auto scheduled_count() const -> std::size_t
auto schedule_after(std::chrono::duration< Rep, Period > delay, F &&function) -> result< scheduled_task >
Value type for pool worker count.
static constexpr auto automatic() noexcept -> worker_count
Create automatic worker count.
worker_registration
Controls whether pool workers are registered in a thread registry.
@ disabled
Do not register workers in the global registry.