Commit cf901a72 authored by cch123's avatar cch123 Committed by Brad Fitzpatrick

runtime: fix typo in runqput comment

Change-Id: Idd88a1d9420545e3e326f8e3b57a38d8c7515555
GitHub-Last-Rev: 59528f552238eb4070cb9a66c1dbfafd6bc3808d
GitHub-Pull-Request: golang/go#25779
Reviewed-on: https://go-review.googlesource.com/116935Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 35778aa4
...@@ -4777,7 +4777,7 @@ func runqempty(_p_ *p) bool { ...@@ -4777,7 +4777,7 @@ func runqempty(_p_ *p) bool {
const randomizeScheduler = raceenabled const randomizeScheduler = raceenabled
// runqput tries to put g on the local runnable queue. // runqput tries to put g on the local runnable queue.
// If next if false, runqput adds g to the tail of the runnable queue. // If next is false, runqput adds g to the tail of the runnable queue.
// If next is true, runqput puts g in the _p_.runnext slot. // If next is true, runqput puts g in the _p_.runnext slot.
// If the run queue is full, runnext puts g on the global queue. // If the run queue is full, runnext puts g on the global queue.
// Executed only by the owner P. // Executed only by the owner P.
......
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