]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] doc: Don't imply incorrect guarantees about data races.
authorDavid Symonds <dsymonds@golang.org>
Fri, 21 Sep 2012 19:55:07 +0000 (05:55 +1000)
committerDavid Symonds <dsymonds@golang.org>
Fri, 21 Sep 2012 19:55:07 +0000 (05:55 +1000)
commit75b71e8cae2fd151f96717fc093b97cc6a6c3f19
tree028437da177f00b16221d904145ebed200228f8e
parentbc5b14d00ae08b96abafc46d663da5d0f9852a48
[release-branch.go1] doc: Don't imply incorrect guarantees about data races.

««« backport dbcfb4459ab8
doc: Don't imply incorrect guarantees about data races.

A race between
        a = "hello, world"
and
        print(a)
is not guaranteed to print either "hello, world" or "".
Its behaviour is undefined.

Fixes #4039.

R=rsc
CC=dvyukov, gobot, golang-dev, r
https://golang.org/cl/6489075

»»»
doc/go_mem.html