From cf901a7240a37ec24d68c4da5b045fba7cf8bfd9 Mon Sep 17 00:00:00 2001 From: cch123 Date: Thu, 7 Jun 2018 10:08:48 +0000 Subject: [PATCH] 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/116935 Reviewed-by: Brad Fitzpatrick --- 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. -- 2.50.0