diff options
author | Jan Dubois <jand@activestate.com> | 2007-01-15 11:25:11 -0800 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2007-01-18 11:36:05 +0000 |
commit | 29e13651528c7c44e8f5d0007c94bec0a96fe2d1 (patch) | |
tree | b248303712edc29aa829e5e92942b83d0529c806 /win32 | |
parent | 39cb70dce881261f8b0815d7ed7b24acd921208e (diff) | |
download | perl-29e13651528c7c44e8f5d0007c94bec0a96fe2d1.tar.gz |
Re: [PATCH] win32_async_check() can still loop indefinitely
Message-ID: <rigoq25vda3sg4i7ppdb5o2jhvuiq15kqj@4ax.com>
p4raw-id: //depot/perl@29868
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index a829b17083..43c7f3f937 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -2143,7 +2143,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_ALLEVENTS); + DWORD result = MsgWaitForMultipleObjects(count,handles,FALSE,timeout-ticks, QS_POSTMESSAGE|QS_TIMER); if (resultp) *resultp = result; if (result == WAIT_TIMEOUT) { |