struct policy_holder
Declaration
template <typename Derived = void>
struct policy_holder : public policy_holder_base { /* full declaration omitted */ };Description
////////////////////////////////////////////////////////////////////
Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:107
Inherits from: policy_holder_base
Member Variables
Inherited from policy_holder_base:
Method Overview
- public constexpr threads::thread_schedule_hint hint() const noexcept
- public constexpr bool operator bool() const noexcept
- public constexpr pika::detail::launch_policy operator pika::detail::launch_policy() const noexcept
- public constexpr pika::detail::launch_policy policy() const noexcept
- public constexpr policy_holder<Derived>(pika::detail::launch_policy p, threads::thread_priority priority = threads::thread_priority::default_, threads::thread_stacksize stacksize = threads::thread_stacksize::default_, threads::thread_schedule_hint hint = {}) noexcept
- public constexpr policy_holder<Derived>(pika::detail::policy_holder_base p) noexcept
- public constexpr threads::thread_priority priority() const noexcept
- public constexpr threads::thread_stacksize stacksize() const noexcept
Inherited from policy_holder_base:
- public get_hint
- public get_policy
- public get_priority
- public get_stacksize
- public is_valid
- public operator bool
- public set_hint
- public set_priority
- public set_stacksize
Methods
constexpr threads::thread_schedule_hint hint()
const noexcept
constexpr threads::thread_schedule_hint hint()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:146
constexpr bool operator bool() const noexcept
constexpr bool operator bool() const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:129
constexpr pika::detail::launch_policy
operator pika::detail::launch_policy()
const noexcept
constexpr pika::detail::launch_policy
operator pika::detail::launch_policy()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:124
constexpr pika::detail::launch_policy policy()
const noexcept
constexpr pika::detail::launch_policy policy()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:134
constexpr policy_holder<Derived>(
pika::detail::launch_policy p,
threads::thread_priority priority =
threads::thread_priority::default_,
threads::thread_stacksize stacksize =
threads::thread_stacksize::default_,
threads::thread_schedule_hint hint =
{}) noexcept
constexpr policy_holder<Derived>(
pika::detail::launch_policy p,
threads::thread_priority priority =
threads::thread_priority::default_,
threads::thread_stacksize stacksize =
threads::thread_stacksize::default_,
threads::thread_schedule_hint hint =
{}) noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:109
Parameters
- pika::detail::launch_policy p
- threads::thread_priority priority = threads::thread_priority::default_
- threads::thread_stacksize stacksize = threads::thread_stacksize::default_
- threads::thread_schedule_hint hint = {}
constexpr policy_holder<Derived>(
pika::detail::policy_holder_base p) noexcept
constexpr policy_holder<Derived>(
pika::detail::policy_holder_base p) noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:119
Parameters
constexpr threads::thread_priority priority()
const noexcept
constexpr threads::thread_priority priority()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:138
constexpr threads::thread_stacksize stacksize()
const noexcept
constexpr threads::thread_stacksize stacksize()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:142