mirror of
https://github.com/golang/go
synced 2024-11-21 19:14:44 -07:00
Go memory model: minor clarification
Fixes #1941. R=rsc CC=golang-dev https://golang.org/cl/4576053
This commit is contained in:
parent
531c01d990
commit
18333f2de5
@ -1,4 +1,5 @@
|
|||||||
<!-- The Go Memory Model -->
|
<!-- The Go Memory Model -->
|
||||||
|
<!-- subtitle Version of June 10, 2011 -->
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
p.rule {
|
p.rule {
|
||||||
@ -42,8 +43,8 @@ Also, if <span class="event">e<sub>1</sub></span> does not happen before <span c
|
|||||||
after <span class="event">e<sub>2</sub></span>, then we say that <span class="event">e<sub>1</sub></span> and <span class="event">e<sub>2</sub></span> happen concurrently.
|
after <span class="event">e<sub>2</sub></span>, then we say that <span class="event">e<sub>1</sub></span> and <span class="event">e<sub>2</sub></span> happen concurrently.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p class="rule">
|
||||||
Within a single goroutine, the happens before order is the
|
Within a single goroutine, the happens-before order is the
|
||||||
order expressed by the program.
|
order expressed by the program.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user