commit | cebdbf3f293f5b0f3120c009c47da0ceadc113cb | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Feb 12 08:04:30 2018 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Feb 12 18:48:54 2018 +0000 |
tree | f5a78e80aa3d56c7d21fc86d0e7d872ac2334269 | |
parent | 89105404f94005ffa8e2b08df78015dc9ac91362 [diff] |
runtime, sync/atomic: use write barrier for atomic pointer functions This copies atomic_pointer.go from 1.10rc2. It was omitted during the transition of the runtime from C to Go, and I forgot about it. This may help with https://gcc.gnu.org/PR84215. Change-Id: If70fb6c827106142c7258a82c42c13b337d3e9ff Reviewed-on: https://go-review.googlesource.com/93197 Reviewed-by: Than McIntosh <thanm@google.com>