]> granicus.if.org Git - php/commitdiff
Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects()
authorMatt Ficken <mattficken@php.net>
Tue, 11 Apr 2017 08:06:56 +0000 (01:06 -0700)
committerMatt Ficken <mattficken@php.net>
Tue, 11 Apr 2017 08:06:56 +0000 (01:06 -0700)
win32/select.c

index 9d64dab4316111dac33782e3566e71ab6f5e52a6..7060ebf41417c706909b5ce681bbc56f4e94db35 100644 (file)
@@ -117,7 +117,7 @@ PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, stru
                        /* check handles */
                        DWORD wret;
 
-                       wret = MsgWaitForMultipleObjects(n_handles, handles, FALSE, retcode > 0 ? 0 : 100, QS_ALLEVENTS);
+                       wret = WaitForMultipleObjects(n_handles, handles, FALSE, retcode > 0 ? 0 : 100);
 
                        if (wret == WAIT_TIMEOUT) {
                                /* set retcode to 0; this is the default.