Change 29868 by [EMAIL PROTECTED] on 2007/01/18 11:36:05
Subject: Re: [PATCH] win32_async_check() can still loop indefinitely
From: Jan Dubois <[EMAIL PROTECTED]>
Date: Mon, 15 Jan 2007 19:25:11 -0800
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/win32/win32.c#280 edit
Differences ...
==== //depot/perl/win32/win32.c#280 (text) ====
Index: perl/win32/win32.c
--- perl/win32/win32.c#279~29732~ 2007-01-09 02:40:23.000000000 -0800
+++ perl/win32/win32.c 2007-01-18 03:36:05.000000000 -0800
@@ -2143,7 +2143,7 @@
timeout += ticks;
}
while (1) {
- DWORD result =
MsgWaitForMultipleObjects(count,handles,FALSE,timeout-ticks, QS_ALLEVENTS);
+ DWORD result =
MsgWaitForMultipleObjects(count,handles,FALSE,timeout-ticks,
QS_POSTMESSAGE|QS_TIMER);
if (resultp)
*resultp = result;
if (result == WAIT_TIMEOUT) {
End of Patch.