]> Cypherpunks repositories - gostls13.git/commit
internal/sync: factor out lookup for CompareAndDelete in HashTrieMap
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 21 Jun 2024 19:59:11 +0000 (19:59 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 18 Nov 2024 20:29:12 +0000 (20:29 +0000)
commite51a33a0efa5883a9be5c46e95554a52070cb696
treea10e8c599b764318c847727dc63da820f9536454
parent4804d0daca1e4f275890d9a74f538796558b5efa
internal/sync: factor out lookup for CompareAndDelete in HashTrieMap

This lookup will be reused for other operations, like CompareAndSwap.

Change-Id: I6698e3c99f7ef6d2b82b9ef489ba8a0be2a71d61
Reviewed-on: https://go-review.googlesource.com/c/go/+/594059
Auto-Submit: 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