go/src/sync/atomic
Keith Randall 95773ab9b0 sync/atomic: fix TestSwapPointer test
It plays way too loose with unsafe.Pointer rules.
It runs afoul of the checkptr rules, so some race detector builds
were failing.

Fixes #38210

Change-Id: I5e1c78201d06295524fdedb3fe5b49d61446f443
Reviewed-on: https://go-review.googlesource.com/c/go/+/226880
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
2020-04-02 03:47:13 +00:00
..
asm.s
atomic_test.go sync/atomic: fix TestSwapPointer test 2020-04-02 03:47:13 +00:00
doc.go sync/atomic: remove panic64 2020-03-19 19:46:54 +00:00
example_test.go
race.s
value.go
value_test.go all: fix incorrect channel and API usage in some unit tests 2020-02-27 19:04:17 +00:00