]> Cypherpunks repositories - gostls13.git/commit
runtime: use timer.lock in moveTimers
authorRuss Cox <rsc@golang.org>
Wed, 14 Feb 2024 16:57:02 +0000 (11:57 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 28 Feb 2024 16:44:16 +0000 (16:44 +0000)
commitc6888d9264c481e61daa7ab0a8e603cdcb67b897
tree62166bf941ad2b7d7d7d616d89a1b2809aa9c821
parent1df6db8e4fe0c8adf72e8533a09b46cad176eb42
runtime: use timer.lock in moveTimers

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