]> Cypherpunks repositories - gostls13.git/commit
runtime: convert schedt.pollUntil to atomic type
authorMichael Pratt <mpratt@google.com>
Wed, 20 Jul 2022 21:42:53 +0000 (17:42 -0400)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Aug 2022 01:49:13 +0000 (01:49 +0000)
commit0fc774a68f04fef2731e7d866a2756808a212d31
tree829fcb2624cd77c88b56808adcff971b96862d8d
parent5d7d50111f123011723989a7d123d6f0a6df38e6
runtime: convert schedt.pollUntil to atomic type

Note that this converts pollUntil from uint64 to int64, the type used by
nanotime().

For #53821.

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