diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-08-30 14:39:43 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-08-30 14:39:43 +0400 |
commit | 92596190c4f48613d55ac7878c481d872f717d21 (patch) | |
tree | 2ae34a207f30df5c185020913a4aeea1789e99f2 /winsup/cygwin/wincap.h | |
parent | 98edb049e44c1630efaf8635281af211ddad3684 (diff) |
* autoload.cc (MsgWaitForMultipleObjectsEx): Define.
(MsgWaitForMultipleObjects): Remove.
* select.cc (select_stuff::wait): Use MsgWaitForMultipleObjectsEx with
QS_ALLPOSTMESSAGE and, if possible, MWMO_INPUTAVAILABLE flags. Explain
why. Fix a potential crash due to a NULL pointer in WAIT_FAILED case.
(peek_windows): Use filter pattern on NT4. Explain why.
* wincap.h (wincaps::has_mwmo_inputavailable): New element.
* wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index 6a698d2f0..8f027d089 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -51,6 +51,7 @@ struct wincaps unsigned has_broken_alloc_console : 1; unsigned has_always_all_codepages : 1; unsigned has_localenames : 1; + unsigned has_mwmo_inputavailable : 1; }; class wincapc @@ -107,6 +108,7 @@ public: bool IMPLEMENT (has_broken_alloc_console) bool IMPLEMENT (has_always_all_codepages) bool IMPLEMENT (has_localenames) + bool IMPLEMENT (has_mwmo_inputavailable) #undef IMPLEMENT }; |