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

runtime: detail the method comment

Change the comment to make more conformable to the function implementation.

Change-Id: I8461e2f09824c50e16223a27d0f61070f04bd21b
GitHub-Last-Rev: c25a8493d3
GitHub-Pull-Request: golang/go#27404
Reviewed-on: https://go-review.googlesource.com/c/go/+/132477
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
Tardis Xu 2018-08-31 07:16:37 +00:00 committed by Emmanuel Odeke
parent 225f484c88
commit f73d80809b

View File

@ -2203,7 +2203,7 @@ func execute(gp *g, inheritTime bool) {
}
// 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) {
_g_ := getg()