Merge pull request #494 from senekor/patch-1

Fix typo in atomics.md
pull/432/merge
Eric Huss 1 month ago committed by GitHub
commit 85fe8925db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,7 +4,7 @@ Rust pretty blatantly just inherits the memory model for atomics from C++20. Thi
due to this model being particularly excellent or easy to understand. Indeed, due to this model being particularly excellent or easy to understand. Indeed,
this model is quite complex and known to have [several flaws][C11-busted]. 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 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 at modeling atomics. At the very least, we can benefit from existing tooling and
research around the C/C++ memory model. research around the C/C++ memory model.
(You'll often see this model referred to as "C/C++11" or just "C11". C just copies (You'll often see this model referred to as "C/C++11" or just "C11". C just copies
the C++ memory model; and C++11 was the first version of the model but it has the C++ memory model; and C++11 was the first version of the model but it has

Loading…
Cancel
Save