summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorRobert May <robertmay@cpan.org>2008-02-03 18:41:57 +0530
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-02-08 14:12:10 +0000
commit039698bb081ad0a3b8b0db129c98e22bc2959a6b (patch)
treea43637a23eb0b1a18c1d15915eeeaaed6a244180 /win32
parent9f4452f71a1756177e8cd3228d29c9b25d66f982 (diff)
downloadperl-039698bb081ad0a3b8b0db129c98e22bc2959a6b.tar.gz
win32_async_check() doesn't loop enough.
From: "Robert May" <robertmay@cpan.org> Message-ID: <54bdc7510802022341r3654d32dva26ef04bd9fa04b7@mail.gmail.com> p4raw-id: //depot/perl@33254
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index d459c94c09..7f98f60f8f 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2159,7 +2159,7 @@ win32_msgwait(pTHX_ DWORD count, LPHANDLE handles, DWORD timeout, LPDWORD result
timeout += ticks;
}
while (1) {
- DWORD result = MsgWaitForMultipleObjects(count,handles,FALSE,timeout-ticks, QS_POSTMESSAGE|QS_TIMER);
+ DWORD result = MsgWaitForMultipleObjects(count,handles,FALSE,timeout-ticks, QS_POSTMESSAGE|QS_TIMER|QS_SENDMESSAGE);
if (resultp)
*resultp = result;
if (result == WAIT_TIMEOUT) {