You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/reference/opencilk-language-specification.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@ A new form of Statement is introduced:
152
152
153
153
_Cilk_scope { Statement* }
154
154
155
-
Statements within _Cilk_scope are executed as usual. There is an implicit _Cilk_sync at the end of the statements included within _Cilk_scope.
155
+
Statements within _Cilk_scope are executed as usual. There is an implicit _Cilk_sync at the end of the statements included within the _Cilk_scope construct.
156
156
157
157
## Semantics
158
158
@@ -196,11 +196,11 @@ Statements within _Cilk_scope are executed as usual. There is an implicit _Cilk
196
196
<p><strong>The serialization of a pure C or C++ program is itself.</strong></p>
197
197
<p>If a C or C++ program has defined behavior and does not use the tasking keywords
198
198
or library functions, it is an OpenCilk with the same defined behavior.</p>
199
-
<p><strong>The serializations of <code>_Cilk_spawn</code> and <code>_Cilk_sync</code>
199
+
<p><strong>The serializations of <code>_Cilk_scope</code>, <code>_Cilk_spawn</code> and <code>_Cilk_sync</code>
200
200
are empty.</strong></p>
201
201
<p>If an OpenCilk program has defined deterministic behavior, then that behavior is
202
202
the same as the behavior of the C or C++ program derived from the original by removing
203
-
all instances of the keywords <code>_Cilk_spawn</code>, and <code>_Cilk_sync</code>.</p>
203
+
all instances of the keywords <code>_Cilk_scope</code>, <code>_Cilk_spawn</code>, and <code>_Cilk_sync</code>.</p>
204
204
<p><strong>The serialization of <code>_Cilk_for</code> is <code>for</code>.</strong></p>
205
205
<p>If an OpenCilk program has defined deterministic behavior, then that behavior is
206
206
the same as the behavior of the C or C++ program derived from the original by replacing
0 commit comments