mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* select.cc (select_stuff::wait): Temporarily disallow APCS.
This commit is contained in:
parent
263acfa613
commit
53257dacae
@ -1,3 +1,7 @@
|
||||
2011-12-08 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||
|
||||
* select.cc (select_stuff::wait): Temporarily disallow APCS.
|
||||
|
||||
2011-12-08 Christopher Faylor Christian Franke <franke@computer.org>
|
||||
|
||||
* include/sys/wait.h: Ensure that C++ functions are only used when
|
||||
|
@ -307,7 +307,7 @@ select_stuff::wait (fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
|
||||
for (;;)
|
||||
{
|
||||
if (!windows_used)
|
||||
wait_ret = WaitForMultipleObjectsEx (m, w4, FALSE, ms, true);
|
||||
wait_ret = WaitForMultipleObjects (m, w4, FALSE, ms);
|
||||
else
|
||||
/* Using MWMO_INPUTAVAILABLE is the officially supported solution for
|
||||
the problem that the call to PeekMessage disarms the queue state
|
||||
@ -315,7 +315,7 @@ select_stuff::wait (fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
|
||||
in the queue. */
|
||||
wait_ret = MsgWaitForMultipleObjectsEx (m, w4, ms,
|
||||
QS_ALLINPUT | QS_ALLPOSTMESSAGE,
|
||||
MWMO_INPUTAVAILABLE | MWMO_ALERTABLE);
|
||||
MWMO_INPUTAVAILABLE);
|
||||
|
||||
switch (wait_ret)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user