struct sync_policy

Declaration

struct sync_policy : public policy_holder { /* full declaration omitted */ };

Description

////////////////////////////////////////////////////////////////////

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

Inherits from: policy_holder

Method Overview

  • public constexpr sync_policy(threads::thread_priority priority = threads::thread_priority::default_, threads::thread_stacksize stacksize = threads::thread_stacksize::default_, threads::thread_schedule_hint hint = {}) noexcept

Methods

constexpr sync_policy(
    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:326

Parameters

threads::thread_priority priority = threads::thread_priority::default_
threads::thread_stacksize stacksize = threads::thread_stacksize::default_
threads::thread_schedule_hint hint = {}