]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: convert schedt.sysmonwait to atomic type
authorMichael Pratt <mpratt@google.com>
Mon, 25 Jul 2022 19:39:07 +0000 (15:39 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Aug 2022 01:52:46 +0000 (01:52 +0000)
commit09cc9bac724896cac02b0da8b259febddde52759
treee5a9ed99facd1912c0859d2c9122c035fbc47c10
parent88ef50e6623e55875d783e5715be1dc0683717e0
runtime: convert schedt.sysmonwait to atomic type

This converts a few unsynchronized accesses.

For #53821.

Change-Id: Ie2728779111e3e042696f15648981c5d5a86ca6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/419448
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