1
0
mirror of https://github.com/golang/go synced 2024-11-24 03:30:18 -07:00
go/misc/cgo
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
..
errors cmd/cgo: recognize known C typedefs as types 2016-02-27 22:51:51 +00:00
fortran misc/cgo/fortran: clean up after successful helloworld.90 build 2016-02-28 04:30:41 +00:00
gmp misc/cgo/gmp: change pi.go to use standard Go copyright header 2015-12-11 13:29:46 +00:00
life misc/cgo/stdio: reenable tests 2015-12-05 21:24:30 +00:00
nocgo
stdio misc/cgo/stdio: reenable tests 2015-12-05 21:24:30 +00:00
test misc/cgo/test: add RewindAndSetgid implementation for s390x 2016-03-22 04:34:24 +00:00
testasan
testcarchive runtime: revert "do not call timeBeginPeriod on windows" 2016-04-09 16:11:41 +00:00
testcshared all: fix spelling mistakes 2016-04-03 17:03:15 +00:00
testgodefs
testsanitizers misc/cgo/testsanitizers: don't run tsan tests on old clang 2016-03-01 00:56:14 +00:00
testshared all: fix spelling mistakes 2016-04-03 17:03:15 +00:00
testsigfwd runtime: for c-archive/c-shared, don't install unnecessary signal handlers 2015-12-18 22:27:38 +00:00
testso
testsovar
testtls