]> Cypherpunks repositories - gostls13.git/commit
doc: Don't imply incorrect guarantees about data races.
authorDavid Symonds <dsymonds@golang.org>
Mon, 10 Sep 2012 22:47:30 +0000 (08:47 +1000)
committerDavid Symonds <dsymonds@golang.org>
Mon, 10 Sep 2012 22:47:30 +0000 (08:47 +1000)
commitaecf5033dfc972f9989b6681ab0f00e346c60e60
treeb725cd33fb2c47f591a9a5ff97dfaedf69d182a4
parent6c4645cffe6659580ddda68ee1fa032ff0c44886
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