Change 18408 by [EMAIL PROTECTED] on 2003/01/03 10:56:54

        Subject: win32_msgwait() problem
        From: Gurusamy Sarathy <[EMAIL PROTECTED]>
        Date: Fri, 13 Dec 2002 17:31:59 -0800
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/win32/win32.c#214 edit

Differences ...

==== //depot/perl/win32/win32.c#214 (text) ====
Index: perl/win32/win32.c
--- perl/win32/win32.c#213~18378~       Mon Dec 30 20:07:56 2002
+++ perl/win32/win32.c  Fri Jan  3 02:56:54 2003
@@ -1912,6 +1912,8 @@
     return ours;
 }
 
+/* This function will not return until the timeout has elapsed, or until
+ * one of the handles is ready. */
 DllExport DWORD
 win32_msgwait(pTHX_ DWORD count, LPHANDLE handles, DWORD timeout, LPDWORD resultp)
 {
@@ -1936,10 +1938,7 @@
         }
        if (result == WAIT_OBJECT_0 + count) {
            /* Message has arrived - check it */
-           if (win32_async_check(aTHX)) {
-               /* was one of ours */
-               break;
-           }
+           (void)win32_async_check(aTHX);
        }
        else {
           /* Not timeout or message - one of handles is ready */
End of Patch.

Reply via email to