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

Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:78

constexpr pika::detail::launch_policy get_policy()
    const noexcept

Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:58

constexpr threads::thread_priority get_priority()
    const noexcept

Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:68

constexpr threads::thread_stacksize
get_stacksize() const noexcept

Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:73

constexpr bool is_valid() const noexcept

Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:63

constexpr bool operator bool() const noexcept

Declared 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

Declared 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

Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:93

Parameters

threads::thread_schedule_hint hint

void set_priority(
    threads::thread_priority priority) noexcept

Declared 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

Declared at: libs/pika/async_base/include/pika/async_base/launch_policy.hpp:88

Parameters

threads::thread_stacksize stacksize