1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:20:24 -07:00

runtime: fix typo in runqput comment

This commit is contained in:
cch123 2018-06-07 17:59:09 +08:00 committed by Xargin
parent e5f0c1f6c9
commit 59528f5522

View File

@ -4777,7 +4777,7 @@ func runqempty(_p_ *p) bool {
const randomizeScheduler = raceenabled
// 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 the run queue is full, runnext puts g on the global queue.
// Executed only by the owner P.