]> Cypherpunks repositories - gostls13.git/commit
sync/atomic: public And/Or ops and race instrumentation
authorMauri de Souza Meneguzzo <mauri870@gmail.com>
Thu, 16 May 2024 22:12:47 +0000 (22:12 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 17 May 2024 18:37:29 +0000 (18:37 +0000)
commit192d65e46b38381653ccbe16cac49f7fa36aac93
tree6dc7232d4cef6973a185f3e7fbddea5dfeae439f
parent664088b898330a2c73121c5a6f2d4dbec5b180d7
sync/atomic: public And/Or ops and race instrumentation

This CL implements the new sync/atomic AND and OR apis as well as their race
counterparts.

Fixes #61395

Change-Id: I294eefe4b3ac27bc4ed237edcbfa88a8c646d86f
GitHub-Last-Rev: f174297007c7b81b1ff4a687ef23d955a3ffd4db
GitHub-Pull-Request: golang/go#64331
Reviewed-on: https://go-review.googlesource.com/c/go/+/544455
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
api/next/61395.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/sync/atomic/61395.md [new file with mode: 0644]
src/runtime/race.go
src/runtime/race_amd64.s
src/runtime/race_arm64.s
src/runtime/race_ppc64le.s
src/runtime/race_s390x.s
src/sync/atomic/asm.s
src/sync/atomic/atomic_test.go
src/sync/atomic/doc.go
src/sync/atomic/type.go