]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix some typos
author徐志伟 <juwan.xu@qq.com>
Mon, 29 Mar 2021 18:22:15 +0000 (18:22 +0000)
committerIan Lance Taylor <iant@golang.org>
Mon, 29 Mar 2021 19:16:20 +0000 (19:16 +0000)
Change-Id: I31f2081eb7c30a9583f479f9194e636fe721b9b3
GitHub-Last-Rev: d09f5fbdc5785dc3963b22ad75309740e0de258e
GitHub-Pull-Request: golang/go#45278
Reviewed-on: https://go-review.googlesource.com/c/go/+/305231
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/runtime/mgcwork.go
src/runtime/proc.go
src/runtime/sys_windows_arm.s

index b3a068661ebec0caf0bd40465c63945c6b18c9cb..667c7afa97197ddd3d190fafaf928385595447dd 100644 (file)
@@ -398,7 +398,7 @@ func getempty() *workbuf {
 }
 
 // putempty puts a workbuf onto the work.empty list.
-// Upon entry this go routine owns b. The lfstack.push relinquishes ownership.
+// Upon entry this goroutine owns b. The lfstack.push relinquishes ownership.
 //go:nowritebarrier
 func putempty(b *workbuf) {
        b.checkempty()
index 89d36321a6422ac6247ec48ce0c4dcc92f5f0c01..c2edb40948d822fbca9d8eef55b1648f0b7ba5c9 100644 (file)
@@ -6231,7 +6231,7 @@ func doInit(t *initTask) {
 
                if inittrace.active {
                        end := nanotime()
-                       // Load stats non-atomically since tracinit is updated only by this init go routine.
+                       // Load stats non-atomically since tracinit is updated only by this init goroutine.
                        after := inittrace
 
                        pkg := funcpkgpath(findfunc(funcPC(firstFunc)))
index 275b827fcb46dde2e3c65f57b1edcc608b14b4b3..22c6d63bdd068a84d95bdc85cc0f279db9371328 100644 (file)
@@ -157,7 +157,7 @@ g0:
        MOVW    R2, 4(R13)      // Move arg0 (ExceptionRecord) into position
        MOVW    R3, 8(R13)      // Move arg1 (ContextRecord) into position
        MOVW    R5, 12(R13)     // Move arg2 (original g) into position
-       BL      (R7)            // Call the go routine
+       BL      (R7)            // Call the goroutine
        MOVW    16(R13), R4     // Fetch return value from stack
 
        // Save system stack pointer for sigresume setup below.