Skip to content

Commit 5004ad3

Browse files
authored
Merge pull request #169 from RalfJung/atomics
further clarify C11 and C/C++11 terminology
2 parents a4d8c2c + ddc460c commit 5004ad3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/atomics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ this model is quite complex and known to have [several flaws][C11-busted].
66
Rather, it is a pragmatic concession to the fact that *everyone* is pretty bad
77
at modeling atomics. At very least, we can benefit from existing tooling and
88
research around the C/C++ memory model.
9-
(You'll often see this model referred to as "C11" or "C/C++11". C and C++ share their
10-
memory model and those were the first versions but they have received some bugfixes
11-
since then.)
9+
(You'll often see this model referred to as "C/C++11" or just "C11". C just copies
10+
the C++ memory model; and C++11 was the first version of the model but it has
11+
received some bugfixes since then.)
1212

1313
Trying to fully explain the model in this book is fairly hopeless. It's defined
1414
in terms of madness-inducing causality graphs that require a full book to

0 commit comments

Comments
 (0)