* autoload.cc (timeBeginPeriod): Autoload.
* dcrt0.cc (dll_crt0_1): Use timeBeginPeriod to set default resolution to 1 ms. * pinfo.cc (pinfo::thisproc): Set ppid for redirected _pinfo blocks too. (pinfo::init): Avoid using VirtualQuery. Just rely on the assumption that procinfo will be populated. * pinfo.h (_pinfo::ppid): Move into redirected block.
This commit is contained in:
@@ -836,6 +836,7 @@ dll_crt0_1 (void *)
|
||||
{
|
||||
extern void initial_setlocale ();
|
||||
|
||||
timeBeginPeriod (1);
|
||||
_my_tls.incyg++;
|
||||
/* Inherit "parent" exec'ed process sigmask */
|
||||
if (spawn_info && !in_forkee)
|
||||
|
Reference in New Issue
Block a user