mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects()
This commit is contained in:
parent
6035ebd4a6
commit
d83743739e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue