]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: convert g.atomicstatus to internal atomic type
authorAndy Pan <panjf2000@gmail.com>
Wed, 24 Aug 2022 19:27:02 +0000 (03:27 +0800)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 5 Sep 2022 07:14:08 +0000 (07:14 +0000)
commit3fbcf05d40ed870d8b7a08c7fff9623a201c1567
tree41997bd06f01c6608423242b41b22b8cb38197ac
parentbe26aa70d432572599d185492f5e2b095d75cc4d
runtime: convert g.atomicstatus to internal atomic type

Note that this changes some unsynchronized operations of g.atomicstatus to synchronized operations.

Updates #53821

Change-Id: If249d62420ea09fbec39b570942f96c63669c333
Reviewed-on: https://go-review.googlesource.com/c/go/+/425363
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/runtime/export_debug_test.go
src/runtime/proc.go
src/runtime/runtime-gdb.py
src/runtime/runtime2.go