Skip to content

Commit 776fea1

Browse files
Eeliszygoloid
authored andcommitted
[intro.races] Add index entries for notions of coherence.
1 parent d6a3234 commit 776fea1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/intro.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,12 +1416,14 @@
14161416
\end{note}
14171417

14181418
\pnum
1419+
\indextext{coherence!write-write}%
14191420
If an operation \placeholder{A} that modifies an atomic object \placeholder{M} happens before
14201421
an operation \placeholder{B} that modifies \placeholder{M}, then \placeholder{A} shall be earlier
14211422
than \placeholder{B} in the modification order of \placeholder{M}. \begin{note} This requirement
14221423
is known as write-write coherence. \end{note}
14231424

14241425
\pnum
1426+
\indextext{coherence!read-read}%
14251427
If a
14261428
\indextext{value computation}%
14271429
value computation \placeholder{A} of an atomic object \placeholder{M} happens before a
@@ -1434,6 +1436,7 @@
14341436
\begin{note} This requirement is known as read-read coherence. \end{note}
14351437

14361438
\pnum
1439+
\indextext{coherence!read-write}%
14371440
If a
14381441
\indextext{value computation}%
14391442
value computation \placeholder{A} of an atomic object \placeholder{M} happens before an
@@ -1443,6 +1446,7 @@
14431446
read-write coherence. \end{note}
14441447

14451448
\pnum
1449+
\indextext{coherence!write-read}%
14461450
If a
14471451
\indextext{side effects}%
14481452
side effect \placeholder{X} on an atomic object \placeholder{M} happens before a value

0 commit comments

Comments
 (0)