This change makes sure that the watchdog message will be displayed in case other messages are also waiting to be displayed. Useful in regression testing where such messages were not being displayed in some cases. (nw)

This commit is contained in:
Scott Stone 2011-11-27 14:46:34 +00:00
parent 9f8125a24e
commit 74deaabe33

View File

@ -1032,6 +1032,7 @@ static DWORD WINAPI watchdog_thread_entry(LPVOID lpParameter)
if (wait_result == WAIT_TIMEOUT)
{
fprintf(stderr, "Terminating due to watchdog timeout\n");
fflush(stderr);
TerminateProcess(GetCurrentProcess(), -1);
}
}