struct policy_holder_base
Declaration
struct policy_holder_base { /* full declaration omitted */ };Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:38
Member Variables
- protected pika::detail::launch_policy policy_
- protected threads::thread_priority priority_
- protected threads::thread_stacksize stacksize_
- protected threads::thread_schedule_hint hint_
Method Overview
- public constexpr threads::thread_schedule_hint get_hint() const noexcept
- public constexpr pika::detail::launch_policy get_policy() const noexcept
- public constexpr threads::thread_priority get_priority() const noexcept
- public constexpr threads::thread_stacksize get_stacksize() const noexcept
- public constexpr bool is_valid() const noexcept
- public constexpr bool operator bool() const noexcept
- public constexpr policy_holder_base(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 void set_hint(threads::thread_schedule_hint hint) noexcept
- public void set_priority(threads::thread_priority priority) noexcept
- public void set_stacksize(threads::thread_stacksize stacksize) noexcept
Methods
constexpr threads::thread_schedule_hint get_hint()
const noexcept
constexpr threads::thread_schedule_hint get_hint()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:78
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:58
constexpr threads::thread_priority get_priority()
const noexcept
constexpr threads::thread_priority get_priority()
const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:68
constexpr threads::thread_stacksize
get_stacksize() const noexcept
constexpr threads::thread_stacksize
get_stacksize() const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:73
constexpr bool is_valid() const noexcept
constexpr bool is_valid() const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:63
constexpr bool operator bool() const noexcept
constexpr bool operator bool() const noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:53
constexpr policy_holder_base(
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_base(
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:40
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 = {}
void set_hint(
threads::thread_schedule_hint hint) noexcept
void set_hint(
threads::thread_schedule_hint hint) noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:93
Parameters
void set_priority(
threads::thread_priority priority) noexcept
void set_priority(
threads::thread_priority priority) noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:83
Parameters
- threads::thread_priority priority
void set_stacksize(
threads::thread_stacksize stacksize) noexcept
void set_stacksize(
threads::thread_stacksize stacksize) noexceptDeclared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:88
Parameters
- threads::thread_stacksize stacksize