]> Cypherpunks repositories - gostls13.git/commit
sync/atomic: remove unnecessary race instrumentation in Value
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 18 Sep 2014 04:22:11 +0000 (21:22 -0700)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 18 Sep 2014 04:22:11 +0000 (21:22 -0700)
commit8c2484ec11d27324423e3cf27cc9ac6b34394c7d
tree23c71f751df52cc097ea3e2b6f7462b391a8f3e0
parented7db89b90409c1ef0be44f4e5cea7dd6475ba4e
sync/atomic: remove unnecessary race instrumentation in Value
It is left from the time when Value was implemented in assembly.
Now it is implemented in Go and race detector understands Go.
In particular the atomic operations must provide
all necessary synchronization.

LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews, khr, rsc
https://golang.org/cl/145880043
src/sync/atomic/norace.go [deleted file]
src/sync/atomic/race.go [deleted file]
src/sync/atomic/value.go