]> Cypherpunks repositories - gostls13.git/commit
runtime: fix test of when a mutex is contended
authorRhys Hiltner <rhys.hiltner@gmail.com>
Tue, 8 Apr 2025 18:34:56 +0000 (11:34 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 22 Apr 2025 16:58:32 +0000 (09:58 -0700)
commit7ce45a014c52375d6a3da577828c9f035a72857a
tree5cf90ebc20fbc8085e4eb5cee6a0de023a1804e6
parent95611c0eb4436102ab0dad3a705acff5f5eb7aca
runtime: fix test of when a mutex is contended

This is used only in tests that verify reports of runtime-internal mutex
contention.

For #66999
For #70602

Change-Id: I72cb1302d8ea0524f1182ec892f5c9a1923cddba
Reviewed-on: https://go-review.googlesource.com/c/go/+/667095
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Rhys Hiltner <rhys.hiltner@gmail.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/runtime/lock_spinbit.go