]> Cypherpunks repositories - gostls13.git/commit
runtime: use timer.lock in runtimer
authorRuss Cox <rsc@golang.org>
Wed, 14 Feb 2024 16:57:03 +0000 (11:57 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 28 Feb 2024 16:44:11 +0000 (16:44 +0000)
commitd1e8dc25ff36694b5fdc8045325502e186b702f2
tree10bf503a6f1f94f8f8cec90546b78f215c461dca
parent58911599e8dc25898c3017dd6655540fb9b976b1
runtime: use timer.lock in runtimer

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: I504335a010d6eb4d7d627145b64a896582158406
Reviewed-on: https://go-review.googlesource.com/c/go/+/564129
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