]> Cypherpunks.ru repositories - gostls13.git/commit
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)
committerKeith Randall <khr@google.com>
Fri, 29 Apr 2022 20:42:52 +0000 (20:42 +0000)
commit2278a51fa0570b01f58a80d60589fcf8e33be9c8
treeb7af9978a76e71fb2d9106f6f7053f90b717205a
parent3ce203db80cd1f320f0c597123b918c3b3bb0449
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 #52612

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>
src/sync/atomic/value.go
test/fixedbugs/issue52612.go [new file with mode: 0644]