From 37a0693e0e78fab4b27e40ffb6bbe008f47dab8d Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 12 Oct 2019 18:07:22 +0200 Subject: [PATCH] mention C11 in case someone wonders --- src/atomics.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/atomics.md b/src/atomics.md index 7771943..0e2e27a 100644 --- a/src/atomics.md +++ b/src/atomics.md @@ -6,6 +6,9 @@ this model is quite complex and known to have [several flaws][C11-busted]. Rather, it is a pragmatic concession to the fact that *everyone* is pretty bad at modeling atomics. At very least, we can benefit from existing tooling and research around the C/C++ memory model. +(You'll often see this model referred to as "C11" or "C/C++11". C and C++ share their +memory model and those were the first versions but they have received some bugfixes +since then.) Trying to fully explain the model in this book is fairly hopeless. It's defined in terms of madness-inducing causality graphs that require a full book to