]> Cypherpunks repositories - gostls13.git/commit
runtime: simplify nobarrierWakeTime
authorIan Lance Taylor <iant@golang.org>
Thu, 29 Oct 2020 23:23:27 +0000 (16:23 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 30 Oct 2020 17:54:57 +0000 (17:54 +0000)
commite02ab89eb8994fa6f2dfa2924cdadb097633fcc1
treeda5da8d8e31a01b1a6c9beae5ba8b99c98fa7456
parenta313eec3869c609c0da2402a4cac2d32113d599c
runtime: simplify nobarrierWakeTime

Also use the simplified nobarrierWakeTime in findrunnable, as it no
longer needs the current time.

Change-Id: I77b125d6a184dde0aeb517fc068164c274f0a046
Reviewed-on: https://go-review.googlesource.com/c/go/+/266304
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/proc.go
src/runtime/time.go