diff options
author | clamyang <clamyang2018@gmail.com> | 2021-12-19 03:03:38 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2021-12-19 20:16:45 +0000 |
commit | 87b2a54827b5a845e9b29ede9414495e3e869f2e (patch) | |
tree | fc0b51a932cdffd9c172dcc0a68131d78793c0b1 | |
parent | c5fee935bbb8f02406eb653cfed550593755a1a4 (diff) | |
download | go-87b2a54827b5a845e9b29ede9414495e3e869f2e.tar.gz go-87b2a54827b5a845e9b29ede9414495e3e869f2e.zip |
runtime: mgc.go typo fix: becuse -> because
Change-Id: I5019d5b9520e47a99a6136f615b6c9468073cc3c
GitHub-Last-Rev: 1a5392925a0c4e9b2915620fee3efa79ae14af20
GitHub-Pull-Request: golang/go#50239
Reviewed-on: https://go-review.googlesource.com/c/go/+/373055
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | src/runtime/mgc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 8c8f7d936b..44b96154e7 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -1323,7 +1323,7 @@ func gcBgMarkWorker() { // point, signal the main GC goroutine. if incnwait == work.nproc && !gcMarkWorkAvailable(nil) { // We don't need the P-local buffers here, allow - // preemption becuse we may schedule like a regular + // preemption because we may schedule like a regular // goroutine in gcMarkDone (block on locks, etc). releasem(node.m.ptr()) node.m.set(nil) |