mirror of
https://github.com/golang/go
synced 2024-11-25 11:27:56 -07:00
d073677569
Fixes #4008. Run a background goroutine that wastes CPU to trick the power management into raising the CPU frequency which, by side effect, makes sleep more accurate on arm. === RUN TestParallelSleep --- PASS: TestParallelSleep (1.30 seconds) _cgo_gotypes.go:772: sleep(1) slept for 1.000458s R=minux.ma, r CC=golang-dev https://golang.org/cl/6498060 |
||
---|---|---|
.. | ||
gmp | ||
life | ||
stdio | ||
test | ||
testso |