1
0
mirror of https://github.com/golang/go synced 2024-11-26 02:07:57 -07:00

doc: fix typos in Go memory model

Change-Id: I8e94215d9bee0ea3ad378870fe565e961a9d80c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/411595
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
Dominik Honnef 2022-06-10 23:13:41 +02:00 committed by Gopher Robot
parent fb75c2da91
commit ff3db8d12d

View File

@ -85,7 +85,7 @@ the approach presented by Hans-J. Boehm and Sarita V. Adve in
<a href="https://www.hpl.hp.com/techreports/2008/HPL-2008-56.pdf">Foundations of the C++ Concurrency Memory Model</a>”,
published in PLDI 2008.
The definition of data-race-free programs and the guarantee of sequential consistency
for race-free progams are equivalent to the ones in that work.
for race-free programs are equivalent to the ones in that work.
</p>
<p>
@ -205,7 +205,7 @@ by other languages, including C, C++, Java, JavaScript, Rust, and Swift.
<p>
Certain Go language operations such as goroutine creation and memory allocation
act as synchronization opeartions.
act as synchronization operations.
The effect of these operations on the synchronized-before partial order
is documented in the “Synchronization” section below.
Individual packages are responsible for providing similar documentation