]> Cypherpunks repositories - gostls13.git/commit
runtime: update timejump function for new timers
authorIan Lance Taylor <iant@golang.org>
Thu, 11 Apr 2019 15:53:42 +0000 (08:53 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 23 Oct 2019 05:20:12 +0000 (05:20 +0000)
commit5f92939c9040c33ed19893a6b369b3dbbd3c5837
tree7df63d3834b7c0ce451c18e731101fb39bb9fd97
parent0195a29399946210700bc5dca2d55c75d80ef9ff
runtime: update timejump function for new timers

Since timers are now on a P, rather than having a G running timerproc,
timejump changes to return a P rather than a G.

Updates #27707

Change-Id: I3d05af2d664409a0fd906e709fdecbbcbe00b9a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/171880
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/time.go