]> Cypherpunks repositories - gostls13.git/commit
runtime: use timer.lock in adjusttimers
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:13 +0000 (16:44 +0000)
commit1df6db8e4fe0c8adf72e8533a09b46cad176eb42
tree52ed6cc657dd20b78278235551715e904ff98ce0
parentd1e8dc25ff36694b5fdc8045325502e186b702f2
runtime: use timer.lock in adjusttimers

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: I2298cede902cbf0aea268c54d741190007a733c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/564128
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/time.go