mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: fix typo in runqput comment
Change-Id: Idd88a1d9420545e3e326f8e3b57a38d8c7515555
GitHub-Last-Rev: 59528f5522
GitHub-Pull-Request: golang/go#25779
Reviewed-on: https://go-review.googlesource.com/116935
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
35778aa497
commit
cf901a7240
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue