* 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>
|
2011-12-08 Christopher Faylor Christian Franke <franke@computer.org>
|
||||||
|
|
||||||
* include/sys/wait.h: Ensure that C++ functions are only used when
|
* 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 (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (!windows_used)
|
if (!windows_used)
|
||||||
wait_ret = WaitForMultipleObjectsEx (m, w4, FALSE, ms, true);
|
wait_ret = WaitForMultipleObjects (m, w4, FALSE, ms);
|
||||||
else
|
else
|
||||||
/* Using MWMO_INPUTAVAILABLE is the officially supported solution for
|
/* Using MWMO_INPUTAVAILABLE is the officially supported solution for
|
||||||
the problem that the call to PeekMessage disarms the queue state
|
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. */
|
in the queue. */
|
||||||
wait_ret = MsgWaitForMultipleObjectsEx (m, w4, ms,
|
wait_ret = MsgWaitForMultipleObjectsEx (m, w4, ms,
|
||||||
QS_ALLINPUT | QS_ALLPOSTMESSAGE,
|
QS_ALLINPUT | QS_ALLPOSTMESSAGE,
|
||||||
MWMO_INPUTAVAILABLE | MWMO_ALERTABLE);
|
MWMO_INPUTAVAILABLE);
|
||||||
|
|
||||||
switch (wait_ret)
|
switch (wait_ret)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user