]> Cypherpunks repositories - gostls13.git/commit
runtime: use timer.lock in cleantimers
authorRuss Cox <rsc@golang.org>
Wed, 14 Feb 2024 16:57:01 +0000 (11:57 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 28 Feb 2024 16:44:09 +0000 (16:44 +0000)
commit58911599e8dc25898c3017dd6655540fb9b976b1
tree0d609a29b7b08006762671f4d45f01c6daeae8c5
parent2fb5ef889bf86dfb25880cf087a3e02f7100df29
runtime: use timer.lock in cleantimers

Continue using timer.lock to simplify timer operations.

[This is one CL in a refactoring stack making very small changes
in each step, so that any subtle bugs that we miss can be more
easily pinpointed to a small change.]

Change-Id: Ic12fd2630e8ac23cddd00fa7e3240a1ac19da596
Reviewed-on: https://go-review.googlesource.com/c/go/+/564126
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/runtime/time.go