* autoload.cc (timeBeginPeriod): Delete.
* dcrt0.cc (dll_crt0_1): Use NtSetTimerResolution rather than timeBeginPeriod.
This commit is contained in:
		| @@ -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> | ||||
|  | ||||
| 	* autoload.cc (timeBeginPeriod): Autoload. | ||||
|   | ||||
| @@ -643,7 +643,6 @@ LoadDLLfunc (SetParent, 8, user32) | ||||
| LoadDLLfunc (SetProcessWindowStation, 4, user32) | ||||
| LoadDLLfunc (SetThreadDesktop, 4, user32) | ||||
|  | ||||
| LoadDLLfunc (timeBeginPeriod, 4, winmm) | ||||
| LoadDLLfuncEx3 (waveInAddBuffer, 12, winmm, 1, 0, 1) | ||||
| LoadDLLfuncEx3 (waveInClose, 4, winmm, 1, 0, 1) | ||||
| LoadDLLfuncEx3 (waveInGetNumDevs, 0, winmm, 1, 0, 1) | ||||
|   | ||||
| @@ -836,7 +836,7 @@ dll_crt0_1 (void *) | ||||
| { | ||||
|   extern void initial_setlocale (); | ||||
|  | ||||
|   timeBeginPeriod (1); | ||||
|   NtSetTimerResolution (10000, TRUE, NULL); | ||||
|   _my_tls.incyg++; | ||||
|   /* Inherit "parent" exec'ed process sigmask */ | ||||
|   if (spawn_info && !in_forkee) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user