aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
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 bc482b00a2..7b43358ba1 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -778,7 +778,7 @@ type schedt struct {
ngsys atomic.Int32 // number of system goroutines
pidle puintptr // idle p's
- npidle uint32
+ npidle atomic.Int32
nmspinning uint32 // See "Worker thread parking/unparking" comment in proc.go.
// Global runnable queue.