Skip to content

Commit 23578f8

Browse files
committed
[intro.races] Clarify 'synchronization operation'.
Fixes #1611 and CWG 2297.
1 parent bbca26c commit 23578f8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/intro.tex

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,9 +1198,12 @@
11981198
memory location.
11991199

12001200
\pnum
1201-
The library defines a number of atomic operations (Clause~\ref{atomics}) and
1202-
operations on mutexes (Clause~\ref{thread}) that are specially identified as
1203-
synchronization operations. These operations play a special role in making
1201+
The library identifies certain operations as
1202+
\defnx{synchronization operations}{synchronization operation}, as specified
1203+
in the \sync element
1204+
(\ref{support.signal}, \ref{util.smartptr.shared.atomic}, \ref{atomics.order},
1205+
\ref{atomics.fences}, Clause~\ref{thread}).
1206+
These operations play a special role in making
12041207
assignments in one thread visible to another. A synchronization operation on one
12051208
or more memory locations is either a consume operation, an acquire operation, a
12061209
release operation, or both an acquire and release operation. A synchronization

0 commit comments

Comments
 (0)