1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:34:40 -07:00

runtime: detail the method comment

Change the comment to make more conformable to the function implementation.
This commit is contained in:
Tardis Xu 2018-08-31 15:05:41 +08:00
parent 58e970ed79
commit c25a8493d3

View File

@ -2257,7 +2257,7 @@ func execute(gp *g, inheritTime bool) {
} }
// Finds a runnable goroutine to execute. // Finds a runnable goroutine to execute.
// Tries to steal from other P's, get g from global queue, poll network. // Tries to steal from other P's, get g from local or global queue, poll network.
func findrunnable() (gp *g, inheritTime bool) { func findrunnable() (gp *g, inheritTime bool) {
_g_ := getg() _g_ := getg()