From: clamyang Date: Sun, 19 Dec 2021 03:03:38 +0000 (+0000) Subject: runtime: mgc.go typo fix: becuse -> because X-Git-Tag: go1.18beta2~206 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=87b2a54827b5a845e9b29ede9414495e3e869f2e;p=gostls13.git 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 Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Trust: Brad Fitzpatrick --- 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)