hpx::execution::experimental::parallel_scheduler#
Defined in header hpx/execution.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
See also:
-
class parallel_scheduler#
P2079 parallel scheduler.
A replaceable
std::executionscheduler that schedules work on an HPX thread pool through a parallel_scheduler_backend. The default backend wraps HPX’sthread_pool_policy_schedulerso callers can use get_parallel_scheduler without managing pools themselves.Schedulers compare equal when they share the same backend instance (P2079 pointer equality). Forward-progress guarantee is
parallel.Obtain instances with get_parallel_scheduler (default pool) or get_parallel_scheduler(pool) (named resource-partitioner pool).