Skip to content

Commit 172cfc5

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 0674404 commit 172cfc5

File tree

12 files changed

+1591
-211
lines changed

12 files changed

+1591
-211
lines changed

reference/rcu.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176

177177
<p class="text-right"><small>
178178
最終更新日時(UTC):
179-
<span itemprop="datePublished" content="2025-01-31T06:33:48">
180-
2025年01月31日 06時33分48秒
179+
<span itemprop="datePublished" content="2025-02-05T10:01:51">
180+
2025年02月05日 10時01分51秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -228,18 +228,18 @@
228228
<td>C++26</td>
229229
</tr>
230230
<tr>
231-
<td><code><span href="https://cpprefjp.github.io/reference/rcu/rcu_synchronize.md.nolink">rcu_synchronize</span></code></td>
231+
<td><code><a href="rcu/rcu_synchronize.html">rcu_synchronize</a></code></td>
232232
<td>RCUドメインのアンロック完了を待機(function)</td>
233233
<td>C++26</td>
234234
</tr>
235235
<tr>
236-
<td><code><span href="https://cpprefjp.github.io/reference/rcu/rcu_barrier.md.nolink">rcu_barrier</span></code></td>
237-
<td>メモリ解放操作完了を待機(function)</td>
236+
<td><code><a href="rcu/rcu_barrier.html">rcu_barrier</a></code></td>
237+
<td>メモリ回収操作完了を待機(function)</td>
238238
<td>C++26</td>
239239
</tr>
240240
<tr>
241-
<td><code><span href="https://cpprefjp.github.io/reference/rcu/rcu_barrier.md.nolink">rcu_retire</span></code></td>
242-
<td>メモリ解放操作をスケジュル(function template)</td>
241+
<td><code><a href="rcu/rcu_retire.html">rcu_retire</a></code></td>
242+
<td>メモリ回収操作をスケジュール(function template)</td>
243243
<td>C++26</td>
244244
</tr>
245245
</tbody>

reference/rcu/rcu_barrier.html

Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
<!doctype html>
2+
<html class="cpprefjp" lang="ja" itemscope="" itemtype="http://schema.org/WebPage">
3+
<head>
4+
5+
6+
<!-- Google tag (gtag.js) -->
7+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NXNBNVBTJS"></script>
8+
<script>
9+
window.dataLayer = window.dataLayer || [];
10+
function gtag(){dataLayer.push(arguments);}
11+
gtag('js', new Date());
12+
13+
gtag('config', 'G-NXNBNVBTJS');
14+
</script>
15+
16+
17+
<meta charset="UTF-8">
18+
19+
<title>rcu_barrier - cpprefjp C++日本語リファレンス</title>
20+
21+
<meta name="viewport" content="width=device-width,initial-scale=1">
22+
<meta name="keywords" content="
23+
C++,標準ライブラリ,リファレンス,ドキュメント,STL,std,rcu,function,std,cpp26
24+
">
25+
<meta name="title" content="rcu_barrier - cpprefjp C++日本語リファレンス" />
26+
<meta itemprop="name" content="rcu_barrier - cpprefjp C++日本語リファレンス" />
27+
<meta property="og:title" content="rcu_barrier - cpprefjp C++日本語リファレンス" />
28+
<meta property="og:url" content="https://cpprefjp.github.io/reference/rcu/rcu_barrier.html" />
29+
<meta property="og:site_name" content="cpprefjp - C++日本語リファレンス" />
30+
<meta property="og:type" content="article" />
31+
<meta property="og:description" content="スケジュールされたメモリ回収操作の完了を待機する。" />
32+
<meta name="twitter:card" content="summary" />
33+
<meta name="twitter:title" content="rcu_barrier - cpprefjp C++日本語リファレンス" />
34+
<meta name="twitter:url" content="https://cpprefjp.github.io/reference/rcu/rcu_barrier.html" />
35+
<meta name="twitter:description" content="スケジュールされたメモリ回収操作の完了を待機する。" />
36+
37+
38+
<link rel="alternate" type="application/atom+xml" title="Atom" href="https://cpprefjp.github.io/rss.xml" />
39+
40+
41+
<link rel="apple-touch-icon" sizes="180x180" href="../../static/favicons/apple-touch-icon.png?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d">
42+
<link rel="icon" type="image/png" sizes="32x32" href="../../static/favicons/favicon-32x32.png?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d">
43+
<link rel="icon" type="image/png" sizes="16x16" href="../../static/favicons/favicon-16x16.png?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d">
44+
<link rel="manifest" href="../../manifest.json?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d">
45+
<meta name="theme-color" content="#f5f8fc">
46+
47+
<link rel="stylesheet" href="../../static/pygments/default.css?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d">
48+
<!-- <link rel="stylesheet" href="../../static/css/root.css"> -->
49+
50+
51+
52+
53+
54+
<link href="../../static/kunai/css/kunai-stage-0.css?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d" rel="stylesheet">
55+
<link href="../../static/kunai/css/kunai-stage-1.css?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d" rel="stylesheet">
56+
<link href="../../static/kunai/css/kunai-stage-2.css?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d" rel="stylesheet">
57+
<link href="../../static/kunai/css/kunai-stage-3.css?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d" rel="stylesheet">
58+
59+
<script type="text/javascript" src="../../static/kunai/js/kunai-vendor.js?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d"></script>
60+
<script type="text/javascript" src="../../static/kunai/js/kunai.js?cachebust=4d86cb7e867236a9be5b1332a0aeb5c96f257c5d"></script>
61+
62+
<script type="text/javascript">
63+
document.addEventListener('DOMContentLoaded', function() {
64+
var kn = new Kunai;
65+
kn.cpprefjp();
66+
});
67+
</script>
68+
69+
</head>
70+
<body>
71+
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;rcu&#34;], &#34;id-type&#34;: [&#34;function&#34;], &#34;namespace&#34;: [&#34;std&#34;], &#34;cpp&#34;: [&#34;cpp26&#34;]}, &#34;sources&#34;: [], &#34;page_id&#34;: [&#34;reference&#34;, &#34;rcu&#34;, &#34;rcu_barrier&#34;]}">
72+
<nav class="navbar navbar-default" role="navigation">
73+
<div class="container-fluid">
74+
<div class="navbar-header">
75+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
76+
<span class="sr-only">Toggle navigation</span>
77+
<span class="icon-bar"></span>
78+
<span class="icon-bar"></span>
79+
<span class="icon-bar"></span>
80+
</button>
81+
<a class="navbar-brand" href="../../index.html">
82+
<div class="title-wrapper clearfix">
83+
<div class="title">cpprefjp - C++日本語リファレンス</div>
84+
</div>
85+
</a>
86+
</div>
87+
88+
<div class="collapse navbar-collapse" id="navbar-collapse">
89+
<ul class="nav navbar-nav navbar-right">
90+
<li>
91+
<div class="google-search">
92+
93+
94+
<script>
95+
(function() {
96+
var cx = '013316413321391058734:ji_u66hl7hq';
97+
var gcse = document.createElement('script');
98+
gcse.type = 'text/javascript';
99+
gcse.async = true;
100+
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
101+
'//www.google.com/cse/cse.js?cx=' + cx;
102+
var s = document.getElementsByTagName('script')[0];
103+
s.parentNode.insertBefore(gcse, s);
104+
})();
105+
</script>
106+
<div class="gcse-search"></div>
107+
108+
109+
</div>
110+
</li>
111+
<li>
112+
<a href="https://github.com/cpprefjp/site">GitHub Project</a>
113+
</li>
114+
</ul>
115+
</div>
116+
</div>
117+
</nav>
118+
</header>
119+
120+
<main id="main" role="main">
121+
<div class="container-fluid">
122+
<div class="row">
123+
<div class="col-sm-9 col-sm-push-3" itemscope itemtype="http://schema.org/Article">
124+
<div class="row">
125+
<div class="col-sm-12 google-search-result">
126+
<gcse:searchresults></gcse:searchresults>
127+
</div>
128+
</div>
129+
<div class="row">
130+
<div class="col-sm-12 content-header">
131+
132+
<ol class="breadcrumb">
133+
134+
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
135+
<span>
136+
137+
<a href="../../index.html" itemprop="url">
138+
139+
<i class="fa fa-fw fa-home"></i>
140+
141+
</a>
142+
143+
</span>
144+
</li>
145+
146+
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
147+
<span>
148+
149+
<a href="../../reference.html" itemprop="url">
150+
151+
<span itemprop="name">リファレンス</span>
152+
153+
</a>
154+
155+
</span>
156+
</li>
157+
158+
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
159+
<span>
160+
161+
<a href="../../reference/rcu.html" itemprop="url">
162+
163+
<span itemprop="name">rcu</span>
164+
165+
</a>
166+
167+
</span>
168+
</li>
169+
170+
<li class="active" itemscope itemtype="http://www.schema.org/SiteNavigationElement">
171+
<span>
172+
173+
174+
<span itemprop="name">rcu_barrier</span>
175+
176+
177+
</span>
178+
</li>
179+
180+
</ol>
181+
<div class="crsearch"></div>
182+
183+
</div>
184+
</div>
185+
<div class="row">
186+
<div class="col-sm-12 edit-button">
187+
188+
189+
<p class="text-right"><small>
190+
最終更新日時(UTC):
191+
<span itemprop="datePublished" content="2025-02-05T10:01:51">
192+
2025年02月05日 10時01分51秒
193+
</span>
194+
<br/>
195+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196+
<span itemprop="name">yoh</span>
197+
</span>
198+
が更新
199+
</small></p>
200+
201+
202+
<p class="text-right">
203+
<a class="history" target="_blank" href="https://github.com/cpprefjp/site/commits/master/reference/rcu/rcu_barrier.md">
204+
<span class="fa fa-fw fa-clock-o fa-flip-horizontal"></span>履歴
205+
</a>
206+
<a class="edit" target="_blank" href="https://github.com/cpprefjp/site/edit/master/reference/rcu/rcu_barrier.md">
207+
<span class="fa fa-fw fa-pencil"></span>編集
208+
</a>
209+
</p>
210+
</div>
211+
</div>
212+
<div class="row">
213+
<div class="col-sm-12 content-body">
214+
215+
<div class="identifier-type">function</div><div class="header">&lt;rcu&gt;</div><h1 itemprop="name"><span class="namespace" title="namespace std">std::</span><span class="token">rcu_barrier</span><span class="cpp cpp26" title="C++26で追加">(C++26)</span></h1>
216+
<div itemprop="articleBody"><p><div class="codehilite"><pre><span></span><code><span class="k">namespace</span> <span class="n">std</span> <span class="p">{</span>
217+
<span class="kt">void</span> <span class="n">rcu_barrier</span><span class="p">(</span><span class="n"><a href="rcu_domain.html">rcu_domain</a></span><span class="o">&amp;</span> <span class="n">dom</span> <span class="o">=</span> <span class="n"><a href="rcu_default_domain.html">rcu_default_domain</a></span><span class="p">())</span> <span class="k">noexcept</span><span class="p">;</span>
218+
<span class="p">}</span>
219+
</code></pre></div>
220+
</p>
221+
<h2>概要</h2>
222+
<p>スケジュールされたメモリ回収操作の完了を待機する。</p>
223+
<h2>効果</h2>
224+
<p>RCUドメイン<code>dom</code>上でスケジュールされた回収操作を評価する可能性がある。
225+
<code>rcu_barrier</code>呼び出し<a class="cpprefjp-defined-word" data-desc="happens before。(異なるスレッド間の) 2つの操作の実行順序を規定する関係">よりも前に発生する</a>評価で、かつ<code>dom</code>上での操作<code>E</code>をスケジュールする評価については、<code>E</code>が評価されるまでブロックする。</p>
226+
<h2><a class="cpprefjp-defined-word" data-desc="マルチスレッド実行時にリソースの所有権に基づいて実行順序を制御する操作">同期操作</a></h2>
227+
<p><code>E</code>のあらゆる評価は、<code>rcu_barrier</code>からの戻り<a class="cpprefjp-defined-word" data-desc="strongly happens before。(異なるスレッド間の) 2つの操作の実行順序を規定する強い関係">よりも確実に前に発生する</a></p>
228+
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
229+
<p>なし</p>
230+
<h2><a class="cpprefjp-defined-word" data-desc="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態">例外</a></h2>
231+
<p>投げない</p>
232+
<h2>備考</h2>
233+
<p><code>rcu_barrier</code>呼び出しは、暗黙に<code><a href="rcu_synchronize.html">rcu_synchronize</a></code>を呼ばない。</p>
234+
<h2>バージョン</h2>
235+
<h3>言語</h3>
236+
<ul>
237+
<li>C++26</li>
238+
</ul>
239+
<h3>処理系</h3>
240+
<ul>
241+
<li><a href="../../implementation.html#clang">Clang</a>: ??</li>
242+
<li><a href="../../implementation.html#gcc">GCC</a>: ??</li>
243+
<li><a href="../../implementation.html#icc">ICC</a>: ??</li>
244+
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: ??</li>
245+
</ul>
246+
<h2>関連項目</h2>
247+
<ul>
248+
<li><code><a href="rcu_retire.html">rcu_retire</a></code></li>
249+
<li><code><a href="rcu_obj_base/retire.html">rcu_obj_base::retire</a></code></li>
250+
</ul>
251+
<h2>参照</h2>
252+
<ul>
253+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2545r4.pdf" target="_blank">P2545R4 Read-Copy Update(RCU)</a></li>
254+
</ul></div>
255+
256+
</div>
257+
</div>
258+
</div>
259+
260+
261+
<div id="sidebar" class="col-sm-3 col-sm-pull-9">
262+
</div>
263+
264+
265+
</div>
266+
</div>
267+
</main>
268+
<footer class="footer navbar navbar-default">
269+
<div class="container-fluid">
270+
<p><small>
271+
本サイトの情報は、
272+
<a href="https://creativecommons.org/licenses/by/3.0/deed.ja" rel="nofollow">クリエイティブ・コモンズ 表示 3.0 非移植 ライセンス(CC BY)</a>
273+
の下に提供されています。
274+
</small></p>
275+
</div>
276+
</footer>
277+
</body>
278+
</html>

reference/rcu/rcu_domain.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-01-31T06:33:48">
192-
2025年01月31日 06時33分48秒
191+
<span itemprop="datePublished" content="2025-02-05T10:01:51">
192+
2025年02月05日 10時01分51秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -221,7 +221,7 @@
221221
<h2>概要</h2>
222222
<p>RCU同期メカニズムで保護する共有データに対応付ける、RCUドメインを表現する。</p>
223223
<p><code>rcu_domain</code>クラスは Cpp17Lockable 要件を満たし、共有データの読み取りをおこなうRCU保護区間を表現する。
224-
RCU保護区間は<code>lock</code>呼び出しから<code>unlock()</code>呼び出しのまでの区間であり、RCUドメインに対して同一スレッド上でのRCU保護区間は入れ子になってもよい。</p>
224+
RCU保護区間は<code><a href="rcu_domain/lock.html">lock</a></code>呼び出しから<code><a href="rcu_domain/unlock.html">unlock</a></code>呼び出しのまでの区間であり、RCUドメインに対して同一スレッド上でのRCU保護区間は入れ子になってもよい。</p>
225225
<h2>メンバ関数</h2>
226226
<table border="1" bordercolor="#888" style="border-collapse:collapse">
227227
<thead>
@@ -292,7 +292,7 @@ <h3>処理系</h3>
292292
<h2>関連項目</h2>
293293
<ul>
294294
<li><code><a href="rcu_default_domain.html">rcu_default_domain</a></code></li>
295-
<li><code><span href="https://cpprefjp.github.io/reference/rcu/rcu_retire.md.nolink">rcu_retire</span></code></li>
295+
<li><code><a href="rcu_retire.html">rcu_retire</a></code></li>
296296
<li><code><a href="rcu_obj_base/retire.html">rcu_obj_base::retire</a></code></li>
297297
</ul>
298298
<h2>参照</h2>

reference/rcu/rcu_domain/unlock.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2025-01-31T06:33:48">
204-
2025年01月31日 06時33分48秒
203+
<span itemprop="datePublished" content="2025-02-05T10:01:51">
204+
2025年02月05日 10時01分51秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -234,7 +234,7 @@ <h2><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成
234234
<p>まだ閉じられていないRCU保護区間を開いた<code><a href="lock.html">lock</a></code>呼び出しが、<code>unlock</code>呼び出しよりも前に順序付けられること。</p>
235235
<h2>効果</h2>
236236
<p>直近に開かれたRCU保護区間を閉じる。
237-
<code>*this</code>上でスケジュールされた再利用操作を呼び出す可能性がある</p>
237+
<code>*this</code>上でスケジュールされた回収操作を呼び出す可能性がある</p>
238238
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
239239
<p>なし</p>
240240
<h2><a class="cpprefjp-defined-word" data-desc="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態">例外</a></h2>
@@ -254,8 +254,8 @@ <h3>処理系</h3>
254254
<h2>関連項目</h2>
255255
<ul>
256256
<li><code><a href="lock.html">lock</a></code></li>
257-
<li><code><span href="https://cpprefjp.github.io/reference/rcu/rcu_retire.md.nolink">rcu_retire</span></code></li>
258-
<li><code><span href="https://cpprefjp.github.io/reference/rcu/rcu_rcu_obj_base/retire.md.nolink">rcu_obj_base::retire</span></code></li>
257+
<li><code><a href="../rcu_retire.html">rcu_retire</a></code></li>
258+
<li><code><a href="../rcu_obj_base/retire.html">rcu_obj_base::retire</a></code></li>
259259
</ul>
260260
<h2>参照</h2>
261261
<ul>

0 commit comments

Comments
 (0)