go/src/sync/atomic
Austin Clements 201129414f sync/atomic: correct result names for Or methods
A few of the new Or methods of the atomic types use "new" as the name
for the result value, but it actually returns the old value. Fix this
by renaming the result values to "old".

Updates #61395.

Change-Id: Ib08db9964f5dfe91929f216d50ff0c9cc891ee49
Reviewed-on: https://go-review.googlesource.com/c/go/+/593855
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Austin Clements <austin@google.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
2024-06-21 15:46:03 +00:00
..
asm.s sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
atomic_test.go sync/atomic: public And/Or ops and race instrumentation 2024-05-17 18:37:29 +00:00
doc.go sync: include links to the Go memory model in package documentation 2024-06-07 21:14:51 +00:00
example_test.go
race.s
type.go sync/atomic: correct result names for Or methods 2024-06-21 15:46:03 +00:00
value.go
value_test.go