struct select_policy
Declaration
template <typename Pred>
struct select_policy { /* full declaration omitted */ };Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:513
Method Overview
- public constexpr pika::detail::launch_policy get_policy() const noexcept
- public constexpr bool is_valid() const noexcept
- public template <typename F, typename U = std::enable_if_t<!std::is_same_v<select_policy<Pred>, std::decay_t<F>>>> select_policy<Pred>(F && f, threads::thread_priority priority = threads::thread_priority::default_, threads::thread_stacksize stacksize = threads::thread_stacksize::default_, threads::thread_schedule_hint hint = {})
Methods
constexpr pika::detail::launch_policy get_policy()
const noexcept
constexpr pika::detail::launch_policy get_policy()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:530
constexpr bool is_valid() const noexcept
constexpr bool is_valid() const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:536
template <typename F,
typename U = std::enable_if_t<
!std::is_same_v<select_policy<Pred>,
std::decay_t<F>>>>
select_policy<Pred>(
F&& f,
threads::thread_priority priority =
threads::thread_priority::default_,
threads::thread_stacksize stacksize =
threads::thread_stacksize::default_,
threads::thread_schedule_hint hint = {})
template <typename F,
typename U = std::enable_if_t<
!std::is_same_v<select_policy<Pred>,
std::decay_t<F>>>>
select_policy<Pred>(
F&& f,
threads::thread_priority priority =
threads::thread_priority::default_,
threads::thread_stacksize stacksize =
threads::thread_stacksize::default_,
threads::thread_schedule_hint hint = {})Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:518
Parameters
- F&& f
- threads::thread_priority priority = threads::thread_priority::default_
- threads::thread_stacksize stacksize = threads::thread_stacksize::default_
- threads::thread_schedule_hint hint = {}