Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 683 Bytes

try_lock.md

File metadata and controls

43 lines (28 loc) · 683 Bytes

try_lock

  • rcu[meta header]
  • function[meta id-type]
  • std[meta namespace]
  • rcu_domain[meta class]
  • cpp26[meta cpp]
bool try_lock() noexcept;

概要

RCU機構により保護される共有データの読み取り開始を宣言する。

効果

lock()と等価。

戻り値

true

例外

投げない

バージョン

言語

  • C++26

処理系

関連項目

参照