]> Cypherpunks repositories - gostls13.git/commit
runtime: initial scheduler changes for timers on P's
authorIan Lance Taylor <iant@golang.org>
Fri, 5 Apr 2019 23:24:14 +0000 (16:24 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 21 Oct 2019 17:23:42 +0000 (17:23 +0000)
commit06ac26279cb93140bb2b03bcef9a3300c166cade
treea9890a3dae8d1d031b22fb82bb1ec0bdda5c628b
parentff9f7bc9da45b66689d8e61b6c674b555517de20
runtime: initial scheduler changes for timers on P's

Add support to the main scheduler loop for handling timers on P's.
This is not used yet, as timers are not yet put on P's.

Updates #6239
Updates #27707

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