From: Matt Ficken Date: Tue, 11 Apr 2017 08:06:56 +0000 (-0700) Subject: Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects() X-Git-Tag: php-7.2.0alpha1~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d83743739e38c3174be66815d90257856b0e1e07;p=php Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects() --- diff --git a/win32/select.c b/win32/select.c index 9d64dab431..7060ebf414 100644 --- a/win32/select.c +++ b/win32/select.c @@ -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.