]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix comment
authorDmitriy Vyukov <dvyukov@google.com>
Tue, 14 Jan 2014 08:58:13 +0000 (12:58 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Tue, 14 Jan 2014 08:58:13 +0000 (12:58 +0400)
Void function can not return false.

R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/52000043

src/pkg/runtime/proc.c

index 60cf02022b74f7cc5f37743b5445e9f7bce1a788..b4bc72b5b777bdb378d59564e2ecaef3cbc49425 100644 (file)
@@ -947,7 +947,7 @@ mspinning(void)
 }
 
 // Schedules some M to run the p (creates an M if necessary).
-// If p==nil, tries to get an idle P, if no idle P's returns false.
+// If p==nil, tries to get an idle P, if no idle P's does nothing.
 static void
 startm(P *p, bool spinning)
 {