]> Cypherpunks repositories - gostls13.git/commit
runtime: add 'next' flag to ready
authorAustin Clements <austin@google.com>
Tue, 17 May 2016 22:21:54 +0000 (18:21 -0400)
committerAustin Clements <austin@google.com>
Thu, 19 May 2016 18:17:58 +0000 (18:17 +0000)
commit91740582c3ec1e57621cbb0ec0f9163431f1b688
treee494bf3385c1fe495ca454f63444618cf9f1eac0
parent79ba1e44c7c2d7ff186f9ac142a85869f352f0f6
runtime: add 'next' flag to ready

Currently ready always puts the readied goroutine in runnext. We're
going to have to change this for some uses, so add a flag for whether
or not to use runnext.

For now we always pass true so this is a no-op change.

For #15706.

Change-Id: Iaa66d8355ccfe4bbe347570cc1b1878c70fa25df
Reviewed-on: https://go-review.googlesource.com/23171
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/proc.go