File tree Expand file tree Collapse file tree 9 files changed +279
-71
lines changed
Expand file tree Collapse file tree 9 files changed +279
-71
lines changed Original file line number Diff line number Diff line change 200200
201201 < p class ="text-right "> < small >
202202 最終更新日時(UTC):
203- < span itemprop ="datePublished " content ="2024-12-23T07:58:47 ">
204- 2024年12月23日 07時58分47秒
203+ < span itemprop ="datePublished " content ="2025-01-22T04:39:19 ">
204+ 2025年01月22日 04時39分19秒
205205 </ span >
206206 < br />
207207 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
208- < span itemprop ="name "> Akira Takahashi </ span >
208+ < span itemprop ="name "> yoh </ span >
209209 </ span >
210210 が更新
211211 </ small > </ p >
@@ -251,6 +251,12 @@ <h2><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成
251251</ ul >
252252</ li >
253253</ ul >
254+ < h2 > < a class ="cpprefjp-defined-word " data-desc ="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当 "> 事前条件</ a > </ h2 >
255+ < p > < code > order</ code > が以下のメモリオーダーではないこと:</ p >
256+ < ul >
257+ < li > < code > < a href ="../memory_order.html "> memory_order_release</ a > </ code > </ li >
258+ < li > < code > < a href ="../memory_order.html "> memory_order_acq_rel</ a > </ code > </ li >
259+ </ ul >
254260< h2 > 効果</ h2 >
255261< ul >
256262< li > 以下のステップを順に繰り返し実行する:< ul >
Original file line number Diff line number Diff line change 200200
201201 < p class ="text-right "> < small >
202202 最終更新日時(UTC):
203- < span itemprop ="datePublished " content ="2024-12-23T07:58:47 ">
204- 2024年12月23日 07時58分47秒
203+ < span itemprop ="datePublished " content ="2025-01-22T04:39:19 ">
204+ 2025年01月22日 04時39分19秒
205205 </ span >
206206 < br />
207207 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
208- < span itemprop ="name "> Akira Takahashi </ span >
208+ < span itemprop ="name "> yoh </ span >
209209 </ span >
210210 が更新
211211 </ small > </ p >
@@ -244,6 +244,12 @@ <h2>概要</h2>
244244< p > 起床されるまで待機する。</ p >
245245< p > この関数は、ブロッキング同期を行うための機能であり、ビジーループによるポーリングよりもエネルギー消費が低く効率的な待機を実現できる。アトミック操作版の< code > < a href ="../../condition_variable/condition_variable.html "> std::condition_variable</ a > </ code > であると言える。</ p >
246246< p > この関数によってブロッキング待機をしたら、対応する起床関数である< code > < a href ="notify_one.html "> notify_one()</ a > </ code > 、< code > < a href ="notify_all.html "> notify_all()</ a > </ code > によってブロッキング待機を解除できる。</ p >
247+ < h2 > < a class ="cpprefjp-defined-word " data-desc ="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当 "> 事前条件</ a > </ h2 >
248+ < p > < code > order</ code > が以下のメモリオーダーではないこと:</ p >
249+ < ul >
250+ < li > < code > < a href ="../memory_order.html "> memory_order_release</ a > </ code > </ li >
251+ < li > < code > < a href ="../memory_order.html "> memory_order_acq_rel</ a > </ code > </ li >
252+ </ ul >
247253< h2 > 効果</ h2 >
248254< ul >
249255< li > 以下のステップを順に繰り返し実行する:< ul >
Original file line number Diff line number Diff line change 188188
189189 < p class ="text-right "> < small >
190190 最終更新日時(UTC):
191- < span itemprop ="datePublished " content ="2024-12-23T07:58:47 ">
192- 2024年12月23日 07時58分47秒
191+ < span itemprop ="datePublished " content ="2025-01-22T04:39:19 ">
192+ 2025年01月22日 04時39分19秒
193193 </ span >
194194 < br />
195195 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
196- < span itemprop ="name "> Akira Takahashi </ span >
196+ < span itemprop ="name "> yoh </ span >
197197 </ span >
198198 が更新
199199 </ small > </ p >
226226</ p >
227227< h2 > 概要</ h2 >
228228< p > 現在の値を< code > bool</ code > 値として取得する。</ p >
229- < h2 > 要件</ h2 >
230- < p > < code > order</ code > が以下のメモリオーダーではないこと:</ p >
231- < ul >
232- < li > < code > < a href ="memory_order.html "> memory_order_release</ a > </ code > </ li >
233- < li > < code > < a href ="memory_order.html "> memory_order_acq_rel</ a > </ code > </ li >
234- </ ul >
235229< h2 > < a class ="cpprefjp-defined-word " data-desc ="関数呼び出し式の評価結果となるオブジェクト・値 "> 戻り値</ a > </ h2 >
236230< p > アトミックに読み込まれた< code > *this</ code > が指している値を返す</ p >
237231< h2 > < a class ="cpprefjp-defined-word " data-desc ="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態 "> 例外</ a > </ h2 >
Original file line number Diff line number Diff line change 188188
189189 < p class ="text-right "> < small >
190190 最終更新日時(UTC):
191- < span itemprop ="datePublished " content ="2024-12-23T07:58:47 ">
192- 2024年12月23日 07時58分47秒
191+ < span itemprop ="datePublished " content ="2025-01-22T04:39:19 ">
192+ 2025年01月22日 04時39分19秒
193193 </ span >
194194 < br />
195195 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
196- < span itemprop ="name "> Akira Takahashi </ span >
196+ < span itemprop ="name "> yoh </ span >
197197 </ span >
198198 が更新
199199 </ small > </ p >
229229</ p >
230230< h2 > 概要</ h2 >
231231< p > 現在の値を< code > bool</ code > 値として取得する。</ p >
232- < h2 > 要件 </ h2 >
232+ < h2 > < a class =" cpprefjp-defined-word " data-desc =" 関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当 " > 事前条件 </ a > </ h2 >
233233< p > < code > order</ code > が以下のメモリオーダーではないこと:</ p >
234234< ul >
235235< li > < code > < a href ="memory_order.html "> memory_order_release</ a > </ code > </ li >
Original file line number Diff line number Diff line change 188188
189189 < p class ="text-right "> < small >
190190 最終更新日時(UTC):
191- < span itemprop ="datePublished " content ="2024-12-23T07:58:47 ">
192- 2024年12月23日 07時58分47秒
191+ < span itemprop ="datePublished " content ="2025-01-22T04:39:19 ">
192+ 2025年01月22日 04時39分19秒
193193 </ span >
194194 < br />
195195 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
196- < span itemprop ="name "> Akira Takahashi </ span >
196+ < span itemprop ="name "> yoh </ span >
197197 </ span >
198198 が更新
199199 </ small > </ p >
@@ -237,6 +237,12 @@ <h2>概要</h2>
237237< p > 起床されるまで待機する。</ p >
238238< p > この関数は、ブロッキング同期を行うための機能であり、ビジーループによるポーリングよりもエネルギー消費が低く効率的な待機を実現できる。アトミック操作版の< code > < a href ="../condition_variable/condition_variable.html "> std::condition_variable</ a > </ code > であると言える。</ p >
239239< p > この関数によってブロッキング待機をしたら、対応する起床関数である< code > < a href ="atomic_flag_notify_one.html "> atomic_flag_notify_one()</ a > </ code > 、< code > < a href ="atomic_flag_notify_all.html "> atomic_flag_notify_all()</ a > </ code > によってブロッキング待機を解除できる。</ p >
240+ < h2 > < a class ="cpprefjp-defined-word " data-desc ="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当 "> 事前条件</ a > </ h2 >
241+ < p > < code > order</ code > が以下のメモリオーダーではないこと:</ p >
242+ < ul >
243+ < li > < code > < a href ="memory_order.html "> memory_order_release</ a > </ code > </ li >
244+ < li > < code > < a href ="memory_order.html "> memory_order_acq_rel</ a > </ code > </ li >
245+ </ ul >
240246< h2 > 効果</ h2 >
241247< ul >
242248< li > 以下のステップを順に繰り返し実行する:< ul >
Original file line number Diff line number Diff line change 200200
201201 < p class ="text-right "> < small >
202202 最終更新日時(UTC):
203- < span itemprop ="datePublished " content ="2024-12-23T07:58:47 ">
204- 2024年12月23日 07時58分47秒
203+ < span itemprop ="datePublished " content ="2025-01-22T04:39:19 ">
204+ 2025年01月22日 04時39分19秒
205205 </ span >
206206 < br />
207207 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
208- < span itemprop ="name "> Akira Takahashi </ span >
208+ < span itemprop ="name "> yoh </ span >
209209 </ span >
210210 が更新
211211 </ small > </ p >
@@ -238,14 +238,10 @@ <h2>概要</h2>
238238< p > この関数は、ブロッキング同期を行うための機能であり、ビジーループによるポーリングよりもエネルギー消費が低く効率的な待機を実現できる。アトミック操作版の< code > < a href ="../../condition_variable/condition_variable.html "> std::condition_variable</ a > </ code > であると言える。</ p >
239239< p > この関数によってブロッキング待機をしたら、対応する起床関数である< code > < a href ="notify_one.html "> notify_one()</ a > </ code > 、< code > < a href ="notify_all.html "> notify_all()</ a > </ code > によってブロッキング待機を解除できる。</ p >
240240< h2 > < a class ="cpprefjp-defined-word " data-desc ="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当 "> 事前条件</ a > </ h2 >
241+ < p > < code > order</ code > が以下のメモリオーダーではないこと:</ p >
241242< ul >
242- < li > < code > order</ code > が以下のいずれかであること:< ul >
243- < li > < code > < a href ="../memory_order.html "> memory_order::relaxed</ a > </ code > </ li >
244- < li > < code > < a href ="../memory_order.html "> memory_order::consume</ a > </ code > </ li >
245- < li > < code > < a href ="../memory_order.html "> memory_order::acquire</ a > </ code > </ li >
246- < li > < code > < a href ="../memory_order.html "> memory_order::seq_cst</ a > </ code > </ li >
247- </ ul >
248- </ li >
243+ < li > < code > < a href ="../memory_order.html "> memory_order_release</ a > </ code > </ li >
244+ < li > < code > < a href ="../memory_order.html "> memory_order_acq_rel</ a > </ code > </ li >
249245</ ul >
250246< h2 > 効果</ h2 >
251247< ul >
Original file line number Diff line number Diff line change 188188
189189 < p class ="text-right "> < small >
190190 最終更新日時(UTC):
191- < span itemprop ="datePublished " content ="2024-12-23T07:58:47 ">
192- 2024年12月23日 07時58分47秒
191+ < span itemprop ="datePublished " content ="2025-01-22T04:39:19 ">
192+ 2025年01月22日 04時39分19秒
193193 </ span >
194194 < br />
195195 < span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
196- < span itemprop ="name "> Akira Takahashi </ span >
196+ < span itemprop ="name "> yoh </ span >
197197 </ span >
198198 が更新
199199 </ small > </ p >
@@ -241,6 +241,12 @@ <h2><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成
241241< ul >
242242< li > (1) : < code > atomic<T>::is_always_lock_free</ code > が< code > true</ code > であること</ li >
243243</ ul >
244+ < h2 > < a class ="cpprefjp-defined-word " data-desc ="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当 "> 事前条件</ a > </ h2 >
245+ < p > < code > order</ code > が以下のメモリオーダーではないこと:</ p >
246+ < ul >
247+ < li > < code > < a href ="memory_order.html "> memory_order_release</ a > </ code > </ li >
248+ < li > < code > < a href ="memory_order.html "> memory_order_acq_rel</ a > </ code > </ li >
249+ </ ul >
244250< h2 > 効果</ h2 >
245251< ul >
246252< li > 以下のステップを順に繰り返し実行する:< ul >
You can’t perform that action at this time.
0 commit comments