[go] sync/atomic: testing race for And/Or

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
May 17, 2024, 2:37:38 PMMay 17
to Gerrit Bot, Mauri de Souza Meneguzzo, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Austin Clements, Go LUCI, Lynn Boger, Keith Randall, Keith Randall, Matthew Dempsky, Alan Donovan, Cherry Mui, Dmitry Vyukov, Ian Lance Taylor, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
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-by: Keith Randall <k...@golang.org>
Reviewed-by: Austin Clements <aus...@google.com>
Auto-Submit: Austin Clements <aus...@google.com>
Reviewed-by: Keith Randall <k...@google.com>
Files:
  • A api/next/61395.txt
  • A doc/next/6-stdlib/99-minor/sync/atomic/61395.md
  • M src/runtime/race.go
  • M src/runtime/race_amd64.s
  • M src/runtime/race_arm64.s
  • M src/runtime/race_ppc64le.s
  • M src/runtime/race_s390x.s
  • M src/sync/atomic/asm.s
  • M src/sync/atomic/atomic_test.go
  • M src/sync/atomic/doc.go
  • M src/sync/atomic/type.go
Change size: L
Delta: 11 files changed, 840 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Austin Clements, +1 by Keith Randall, +2 by Keith Randall
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I294eefe4b3ac27bc4ed237edcbfa88a8c646d86f
Gerrit-Change-Number: 544455
Gerrit-PatchSet: 36
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Austin Clements <aus...@google.com>
Gerrit-Reviewer: Dmitry Vyukov <dvy...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@google.com>
Gerrit-CC: Alan Donovan <adon...@google.com>
Gerrit-CC: Cherry Mui <cher...@google.com>
Gerrit-CC: Lynn Boger <lab...@linux.vnet.ibm.com>
Gerrit-CC: Matthew Dempsky <mdem...@google.com>
Gerrit-CC: Mauri de Souza Meneguzzo <maur...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages