]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.18] sync/atomic: use consistent first-store-in-progress marker
authorKeith Randall <khr@golang.org>
Fri, 29 Apr 2022 04:18:49 +0000 (21:18 -0700)
committerHeschi Kreinick <heschi@google.com>
Mon, 9 May 2022 20:12:59 +0000 (20:12 +0000)
commit9247bdddba13cad4ff69be1f9da25b14fe91371b
tree80ba8466396da0de3822397f90fa06846915dc53
parent500d75a5557c156808ad7afb78c0fa7c85b5832d
[release-branch.go1.18] sync/atomic: use consistent first-store-in-progress marker

We need to use the same marker everywhere. My CL to rename the
marker (CL 241661) and the CL to add more uses of the marker
under the old name (CL 241678) weren't coordinated with each other.

Fixes #52615

Change-Id: I97023c0769e518491924ef457fe03bf64a2cefa6
Reviewed-on: https://go-review.googlesource.com/c/go/+/403094
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/403198
src/sync/atomic/value.go
test/fixedbugs/issue52612.go [new file with mode: 0644]