]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
authorChristopher Faylor <me@cgf.cx>
Thu, 18 Feb 2010 15:07:38 +0000 (15:07 +0000)
committerChristopher Faylor <me@cgf.cx>
Thu, 18 Feb 2010 15:07:38 +0000 (15:07 +0000)
in signalled state as it seems to fix some hangs.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc

index e99507da91e0c93e70d985e1c9d3323cb325e4af..57abafa8695b48fbe71286e15791326c8aee42f7 100644 (file)
@@ -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".
index 8e84383144a648d25f600989adc8de3fa37b6dd1..eec1bd726041ee91ca46176d12e72cdebeb405f5 100644 (file)
@@ -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
     {
This page took 0.031222 seconds and 5 git commands to generate.