Alexandre Julliard : kernel32: Increase the wineboot timeout.
Module: wine Branch: master Commit: 02aef1c3b85c7c6cabb129ad4ce2cd663eac6bfd URL: http://source.winehq.org/git/wine.git/?a=commit;h=02aef1c3b85c7c6cabb129ad4c... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Mar 30 16:50:06 2010 +0200 kernel32: Increase the wineboot timeout. --- dlls/kernel32/process.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c index 541c794..251da4e 100644 --- a/dlls/kernel32/process.c +++ b/dlls/kernel32/process.c @@ -1104,10 +1104,10 @@ void CDECL __wine_kernel_init(void) if (boot_events[0]) { - DWORD timeout = 30000, count = 1; + DWORD timeout = 2 * 60 * 1000, count = 1; if (boot_events[1]) count++; - if (!got_environment) timeout = 300000; /* initial prefix creation can take longer */ + if (!got_environment) timeout = 5 * 60 * 1000; /* initial prefix creation can take longer */ if (WaitForMultipleObjects( count, boot_events, FALSE, timeout ) == WAIT_TIMEOUT) ERR( "boot event wait timed out\n" ); CloseHandle( boot_events[0] );
participants (1)
-
Alexandre Julliard