aboutsummaryrefslogtreecommitdiff
path: root/doc/go_mem.html
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-09-26 12:54:30 -0400
committerRuss Cox <rsc@golang.org>2011-09-26 12:54:30 -0400
commit44d13e3cfe621352fe1daf6a6f580c0912799372 (patch)
tree5887adbfa40c5931598cd259183c5d748bc2f961 /doc/go_mem.html
parentaa2a31e6c47cdeffe1abdc8a1a80d50711341083 (diff)
downloadgo-44d13e3cfe621352fe1daf6a6f580c0912799372.tar.gz
go-44d13e3cfe621352fe1daf6a6f580c0912799372.zip
doc: fix memory model read visibility bug
Fixes #2277. R=dvyukov, r CC=golang-dev https://golang.org/cl/5083044
Diffstat (limited to 'doc/go_mem.html')
-rw-r--r--doc/go_mem.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_mem.html b/doc/go_mem.html
index a388283588..45ee0f53f2 100644
--- a/doc/go_mem.html
+++ b/doc/go_mem.html
@@ -54,7 +54,7 @@ if both of the following hold:
</p>
<ol>
-<li><span class="event">w</span> happens before <span class="event">r</span>.</li>
+<li><span class="event">r</span> does not happen before <span class="event">w</span>.</li>
<li>There is no other write <span class="event">w'</span> to <code>v</code> that happens
after <span class="event">w</span> but before <span class="event">r</span>.</li>
</ol>