1
0
mirror of https://github.com/golang/go synced 2024-11-12 07:10:22 -07:00

runtime: fix comment

Void function can not return false.

R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/52000043
This commit is contained in:
Dmitriy Vyukov 2014-01-14 12:58:13 +04:00
parent fa6ffc6c9b
commit e0dcf73d61

View 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)
{