aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-11-18 13:51:35 +0800
committerGopher Robot <gobot@golang.org>2023-11-27 15:48:25 +0000
commit0d018b49e33b1383dc0ae5cc968e800dffeeaf7d (patch)
tree554814c7ccb8a3a8be801e10f6a63827c22f182a /src/runtime/runtime2.go
parent0c7e5d3b8db6668d6bdb16410d59c0ae4133400a (diff)
downloadgo-0d018b49e33b1383dc0ae5cc968e800dffeeaf7d.tar.xz
all: fix field names
Change-Id: I3ad7a50707486ebdbbd676b3581df6e3ed0fd3a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/543476 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: shuang cui <imcusg@gmail.com>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 6d40c7c466..01f1a50670 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -857,7 +857,7 @@ type schedt struct {
sysmonwait atomic.Bool
sysmonnote note
- // safepointFn should be called on each P at the next GC
+ // safePointFn should be called on each P at the next GC
// safepoint if p.runSafePointFn is set.
safePointFn func(*p)
safePointWait int32