Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.43 KB

File metadata and controls

46 lines (35 loc) · 1.43 KB

sync-wait-env

  • [meta exposition-only]
  • execution[meta header]
  • class template[meta id-type]
  • std::this_thread[meta namespace]
  • cpp26[meta cpp]
namespace std::this_thread {
  struct sync-wait-env {
    execution::run_loop* loop;  // exposition only

    auto query(execution::get_scheduler_t) const noexcept {
      return loop->get_scheduler();
    }

    auto query(execution::get_delegation_scheduler_t) const noexcept {
      return loop->get_scheduler();
    }
  };
}
  • execution::run_loop[link ../execution/run_loop.md]
  • execution::get_scheduler_t[link ../execution/get_scheduler.md]
  • execution::get_delegation_scheduler_t[link ../execution/get_delegation_scheduler.md]
  • get_scheduler()[link ../execution/run_loop/get_scheduler.md]

概要

sync-wait-envは、Senderアルゴリズム動作仕様定義で用いられる説明専用のクラステンプレートである。

Senderコンシューマsync_waitsync_wait_with_variant動作においてReceiver環境として利用される。

バージョン

言語

  • C++26

関連項目

参照