Commit f73d8080 authored by Tardis Xu's avatar Tardis Xu Committed by Emmanuel Odeke

runtime: detail the method comment

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

Change-Id: I8461e2f09824c50e16223a27d0f61070f04bd21b
GitHub-Last-Rev: c25a8493d3938b38e2c318f7a7b94c9f2eb11bb4
GitHub-Pull-Request: golang/go#27404
Reviewed-on: https://go-review.googlesource.com/c/go/+/132477Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
parent 225f484c
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment