diff options
author | Christopher Faylor <me@cgf.cx> | 2010-02-18 15:07:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-02-18 15:07:38 +0000 |
commit | 90f5de33d5441eaf63bc779a5ee4ab836d6f8e02 (patch) | |
tree | 2f58f837e0d1c469eebe4762d77434fda5c311a4 | |
parent | 954e9f99fb7b3cfe2acb9aef4c80bf0b63b0f143 (diff) | |
download | cygnal-90f5de33d5441eaf63bc779a5ee4ab836d6f8e02.tar.gz cygnal-90f5de33d5441eaf63bc779a5ee4ab836d6f8e02.tar.bz2 cygnal-90f5de33d5441eaf63bc779a5ee4ab836d6f8e02.zip |
* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
in signalled state as it seems to fix some hangs.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e99507da9..57abafa86 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2010-02-18 Christopher Faylor <me+cygwin@cgf.cx> + + * fhandler.cc (fhandler_base::setup_overlapped): Revert to starting + with handle in signalled state as it seems to fix some hangs. + 2010-02-15 Corinna Vinschen <corinna@vinschen.de> * path.cc (path_conv::check): Treat native DOS paths as "noacl". diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 8e8438314..eec1bd726 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -1647,7 +1647,7 @@ fhandler_base::setup_overlapped (bool doit) if (doit) { set_overlapped (ov); - res = !!(ov->hEvent = CreateEvent (&sec_none_nih, true, false, NULL)); + res = !!(ov->hEvent = CreateEvent (&sec_none_nih, true, true, NULL)); } else { |