* autoload.cc (timeBeginPeriod): Delete.
* dcrt0.cc (dll_crt0_1): Use NtSetTimerResolution rather than timeBeginPeriod.
This commit is contained in:
parent
e9da9dfb94
commit
27c6e45ea3
|
@ -1,3 +1,9 @@
|
||||||
|
2013-12-17 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
|
* autoload.cc (timeBeginPeriod): Delete.
|
||||||
|
* dcrt0.cc (dll_crt0_1): Use NtSetTimerResolution rather than
|
||||||
|
timeBeginPeriod.
|
||||||
|
|
||||||
2013-12-17 Christopher Faylor <me.cygwin2013@cgf.cx>
|
2013-12-17 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
* autoload.cc (timeBeginPeriod): Autoload.
|
* autoload.cc (timeBeginPeriod): Autoload.
|
||||||
|
|
|
@ -643,7 +643,6 @@ LoadDLLfunc (SetParent, 8, user32)
|
||||||
LoadDLLfunc (SetProcessWindowStation, 4, user32)
|
LoadDLLfunc (SetProcessWindowStation, 4, user32)
|
||||||
LoadDLLfunc (SetThreadDesktop, 4, user32)
|
LoadDLLfunc (SetThreadDesktop, 4, user32)
|
||||||
|
|
||||||
LoadDLLfunc (timeBeginPeriod, 4, winmm)
|
|
||||||
LoadDLLfuncEx3 (waveInAddBuffer, 12, winmm, 1, 0, 1)
|
LoadDLLfuncEx3 (waveInAddBuffer, 12, winmm, 1, 0, 1)
|
||||||
LoadDLLfuncEx3 (waveInClose, 4, winmm, 1, 0, 1)
|
LoadDLLfuncEx3 (waveInClose, 4, winmm, 1, 0, 1)
|
||||||
LoadDLLfuncEx3 (waveInGetNumDevs, 0, winmm, 1, 0, 1)
|
LoadDLLfuncEx3 (waveInGetNumDevs, 0, winmm, 1, 0, 1)
|
||||||
|
|
|
@ -836,7 +836,7 @@ dll_crt0_1 (void *)
|
||||||
{
|
{
|
||||||
extern void initial_setlocale ();
|
extern void initial_setlocale ();
|
||||||
|
|
||||||
timeBeginPeriod (1);
|
NtSetTimerResolution (10000, TRUE, NULL);
|
||||||
_my_tls.incyg++;
|
_my_tls.incyg++;
|
||||||
/* Inherit "parent" exec'ed process sigmask */
|
/* Inherit "parent" exec'ed process sigmask */
|
||||||
if (spawn_info && !in_forkee)
|
if (spawn_info && !in_forkee)
|
||||||
|
|
Loading…
Reference in New Issue