]> Cypherpunks repositories - gostls13.git/commit
Revert "internal/sync: optimize CompareAndSwap and Swap"
authorMichael Knyszek <mknyszek@google.com>
Tue, 24 Dec 2024 01:59:28 +0000 (17:59 -0800)
committerGopher Robot <gobot@golang.org>
Mon, 6 Jan 2025 17:57:18 +0000 (09:57 -0800)
commitc112c0af1328ef0aae989ae20d27359a18f72543
tree4c3f4b8785b70b611af8962717fb972dd6f71501
parent705b5a569acb9207fda8ea469387d88346b6817a
Revert "internal/sync: optimize CompareAndSwap and Swap"

This reverts CL 606462.

Reason for revert: Breaks atomicity between operations. See #70970.

Change-Id: I1a899f2784da5a0f9da3193e3267275c23aea661
Reviewed-on: https://go-review.googlesource.com/c/go/+/638615
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Commit-Queue: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/internal/sync/hashtriemap.go