• Austin Clements's avatar
    runtime: add 'next' flag to ready · 91740582
    Austin Clements authored
    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: 's avatarRick Hudson <rlh@golang.org>
    91740582
mgc.go 62.9 KB