aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2022-08-12 16:37:42 +0700
committerGopher Robot <gobot@golang.org>2022-08-12 15:45:17 +0000
commita2af095699f5ec330ff2f012ea3a16d74cc4c3f9 (patch)
tree6abeb17cd2b9717695353697040b7636e7e07865 /src/runtime/runtime2.go
parentf67c76606991411cd0075c5715624a579de40d46 (diff)
downloadgo-a2af095699f5ec330ff2f012ea3a16d74cc4c3f9.tar.xz
runtime: run "gofmt -s -w"
Change-Id: I7eb3de35d1f1f0237962735450b37d738966f30c Reviewed-on: https://go-review.googlesource.com/c/go/+/423254 Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Pratt <mpratt@google.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 884d6cc096..32ad34ccdf 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -779,7 +779,7 @@ type schedt struct {
pidle puintptr // idle p's
npidle atomic.Int32
- nmspinning atomic.Int32 // See "Worker thread parking/unparking" comment in proc.go.
+ nmspinning atomic.Int32 // See "Worker thread parking/unparking" comment in proc.go.
needspinning atomic.Uint32 // See "Delicate dance" comment in proc.go. Boolean. Must hold sched.lock to set to 1.
// Global runnable queue.