std::condition_variable_any
任意のロック型と組み合わせられるC++の条件変数。waitがstd::stop_tokenを直接受け取れる点がstd::condition_variableと異なる。
- 概念URI
https://comcomponent.com/knowledge/std-condition-variable-any/
- 最終確認日
- 2026-08-01
- 機械可読データ
- JSON-LD
この概念が関わる関係
- std::condition_variable_anyはstd::stop_tokenを利用します。condition_variable_anyのwaitはstop_tokenを直接受け取れるため、仕事が来るまで待っているスレッドも停止要求で即座に起こせる。std::condition_variableのwaitにはstop_tokenを取るオーバーロードがない。 / 確度: 確立した関係 / 確認日: 2026-08-22 出典
この概念を扱う記事
一次資料
このページはサイトの知識グラフ(_data/knowledge/)から自動生成されています。誤りの指摘はお問い合わせからお願いします。