kernel32: Increase the wineboot timeout.

This commit is contained in:
Alexandre Julliard 2010-03-30 16:50:06 +02:00
parent 9254476d13
commit 02aef1c3b8
1 changed files with 2 additions and 2 deletions

View File

@ -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] );