]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: convert schedt.ngsys to atomic type
authorMichael Pratt <mpratt@google.com>
Wed, 20 Jul 2022 21:48:19 +0000 (17:48 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Aug 2022 01:51:51 +0000 (01:51 +0000)
commit449691b3ef1d93125757037a9ab3f462ccab8f31
tree3379a245a15687b37d90c80747d6f98820b4bf7a
parent0fc774a68f04fef2731e7d866a2756808a212d31
runtime: convert schedt.ngsys to atomic type

Note that this converts ngsys from uint32 to int32 to match the other
(non-atomic) counters.

For #53821.

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