]> Cypherpunks repositories - gostls13.git/commit
runtime, syscall, time: prepare for adding timers to P's
authorIan Lance Taylor <iant@golang.org>
Thu, 11 Apr 2019 00:38:26 +0000 (17:38 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 21 Oct 2019 23:41:41 +0000 (23:41 +0000)
commit0050c079d5a50e441aa32d0da5338687890194ef
treefc8a8644378392cda84e3f9aae8f149b1e699560
parenta59808ed01b52119025c49c7ab71ceffbf56c080
runtime, syscall, time: prepare for adding timers to P's

Add new fields to runtime.timer, and adjust the various timer
functions in preparation for adding timers to P's. This continues to
use the old timer code.

Updates #6239
Updates #27707

Change-Id: I9adb3814f657e083ec5e22736c4b5b52b77b6a3f
Reviewed-on: https://go-review.googlesource.com/c/go/+/171829
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/time.go
src/time/sleep.go