]> Cypherpunks repositories - gostls13.git/commit
runtime: move all timer-locking code into time.go
authorRuss Cox <rsc@golang.org>
Wed, 14 Feb 2024 16:56:56 +0000 (11:56 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 28 Feb 2024 16:43:47 +0000 (16:43 +0000)
commit8a493a667268083a6e33de606fd90e82ddd694f0
treed884d0926e8e3717966dd21f6215bdfd12cf583d
parent77f0bd01fbc9cc7e77d86756d273b69a5855c2c3
runtime: move all timer-locking code into time.go

No code changes, only code moves here.
Move all code that locks pp.timersLock into time.go
so that it is all in one place, for easier abstraction.

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