aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuilherme Souza <32180229+gqgs@users.noreply.github.com>2021-05-11 21:37:56 +0000
committerIan Lance Taylor <iant@golang.org>2021-05-12 02:04:57 +0000
commit1a0ea1a08b26f25d3795ca46e4a831a8ca4859ad (patch)
treedd1136e5a0ec9a8984a4b652e682648f021e914d /src
parent9995c6b50aa55c1cc1236d1d688929df512dad53 (diff)
downloadgo-1a0ea1a08b26f25d3795ca46e4a831a8ca4859ad.tar.gz
go-1a0ea1a08b26f25d3795ca46e4a831a8ca4859ad.zip
runtime: fix typo in proc.go
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>
Diffstat (limited to 'src')
-rw-r--r--src/runtime/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 378d5e32f5c..66a06feb24f 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -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.