diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-01-14 12:58:13 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-01-14 12:58:13 +0400 |
| commit | e0dcf73d6163beeb4e92715d2f64fdc0ca9573be (patch) | |
| tree | 056051c7afc4cf11d6a44e6fffc00a26d20e2495 /src/pkg | |
| parent | fa6ffc6c9b8bf0945921c8710f3c0d74d1af0126 (diff) | |
| download | go-e0dcf73d6163beeb4e92715d2f64fdc0ca9573be.tar.xz | |
runtime: fix comment
Void function can not return false.
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/52000043
Diffstat (limited to 'src/pkg')
| -rw-r--r-- | src/pkg/runtime/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index 60cf02022b..b4bc72b5b7 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -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) { |
