]> Cypherpunks repositories - gostls13.git/commit
runtime: convert schedt.nmspinning to atomic type
authorMichael Pratt <mpratt@google.com>
Mon, 25 Jul 2022 19:20:22 +0000 (15:20 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Aug 2022 01:52:18 +0000 (01:52 +0000)
commit1eeef5d5b4d5fafa96fb0d4aab033fc0c3947e51
treea68ef7b0b38289c792d436fcc022dc25bd26e792
parent58a1dabfd1b2bbc2a6a9a2e1cda3e98d93d61258
runtime: convert schedt.nmspinning to atomic type

Note that this converts nmspinning from uint32 to int32 for consistency
with the other count fields in schedt.

For #53821.

Change-Id: Ia6ca7a2b476128eda3b68e9f0c7775ae66c0c744
Reviewed-on: https://go-review.googlesource.com/c/go/+/419446
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgcpacer.go
src/runtime/proc.go
src/runtime/runtime2.go