]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo in proc.go
authorGuilherme Souza <32180229+gqgs@users.noreply.github.com>
Tue, 11 May 2021 21:37:56 +0000 (21:37 +0000)
committerIan Lance Taylor <iant@golang.org>
Wed, 12 May 2021 02:04:57 +0000 (02:04 +0000)
Change-Id: I12c0befc5772a5c902a55aeb06a30ec7a34a3bd6
GitHub-Last-Rev: 7d41e1bcb9f6304e1b868701740279e845c99a66
GitHub-Pull-Request: golang/go#46112
Reviewed-on: https://go-review.googlesource.com/c/go/+/319053
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/proc.go

index 378d5e32f5cbffba236a0cf5988c1a89e7de190c..66a06feb24f26928aaa8e64ab3cc8f245b404242 100644 (file)
@@ -3136,7 +3136,7 @@ func checkIdleGCNoP() (*p, *g) {
        // an available P and available worker G.
        //
        // We can attempt to acquire these in either order, though both have
-       // synchonization concerns (see below). Workers are almost always
+       // synchronization concerns (see below). Workers are almost always
        // available (see comment in findRunnableGCWorker for the one case
        // there may be none). Since we're slightly less likely to find a P,
        // check for that first.