]> Cypherpunks repositories - gostls13.git/commit
runtime: use methods for timer
authorRuss Cox <rsc@golang.org>
Wed, 14 Feb 2024 16:57:05 +0000 (11:57 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 28 Feb 2024 16:44:20 +0000 (16:44 +0000)
commit370c8e983b49168b670ea4df76293738a833459b
tree35c75f43245f8b1f468f1c4725c76b99e01cab76
parenta155a2f8a135b8b274d978ccb9ca4e690176118b
runtime: use methods for timer

Continuing conversion from C to Go, change timer API to use methods.

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