From 59528f552238eb4070cb9a66c1dbfafd6bc3808d Mon Sep 17 00:00:00 2001 From: cch123 Date: Thu, 7 Jun 2018 17:59:09 +0800 Subject: [PATCH] runtime: fix typo in runqput comment --- src/runtime/proc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 9908951544..1267899b83 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -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.