diff options
author | Dominik Honnef <dominik@honnef.co> | 2022-06-10 23:13:41 +0200 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-06-10 22:10:29 +0000 |
commit | ff3db8d12d8e2eacde7eccd47ea4f3e3dd5a6807 (patch) | |
tree | 465fd1fb4f2be36d9b2bee5d1c81b6814b7a7a24 /doc/go_mem.html | |
parent | fb75c2da91b9cccf05ec6baad2636325c5d96751 (diff) | |
download | go-ff3db8d12d8e2eacde7eccd47ea4f3e3dd5a6807.tar.gz go-ff3db8d12d8e2eacde7eccd47ea4f3e3dd5a6807.zip |
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>
Diffstat (limited to 'doc/go_mem.html')
-rw-r--r-- | doc/go_mem.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_mem.html b/doc/go_mem.html index 59f9ab880d..661e1e781c 100644 --- a/doc/go_mem.html +++ b/doc/go_mem.html @@ -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 |