1
0
mirror of https://github.com/golang/go synced 2024-11-20 01:04:40 -07:00
go/misc/cgo/testcarchive
Dmitry Vyukov 0435e88a11 runtime: revert "do not call timeBeginPeriod on windows"
This reverts commit ab4c9298b8.

Sysmon critically depends on system timer resolution for retaking
of Ps blocked in system calls. See #14790 for an example
of a program where execution time goes from 2ms to 30ms if
timeBeginPeriod(1) is not used.

We can remove timeBeginPeriod(1) when we support UMS (#7876).

Update #14790

Change-Id: I362b56154359b2c52d47f9f2468fe012b481cf6d
Reviewed-on: https://go-review.googlesource.com/20834
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Dmitry Vyukov <dvyukov@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2016-04-09 16:11:41 +00:00
..
src misc/cgo/testcarchive: more robust TestSignalForwardingExternal 2016-03-26 02:40:12 +00:00
carchive_test.go runtime: revert "do not call timeBeginPeriod on windows" 2016-04-09 16:11:41 +00:00
main2.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main3.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main4.c misc/cgo/testcarchive,testcshared: deflake tests 2016-01-07 01:32:29 +00:00
main5.c misc/cgo/testcarchive: more robust TestSignalForwardingExternal 2016-03-26 02:40:12 +00:00
main_unix.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00
main_windows.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00
main.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00