* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle

in signalled state as it seems to fix some hangs.
This commit is contained in:
Christopher Faylor 2010-02-18 15:07:38 +00:00
parent 954e9f99fb
commit 90f5de33d5
2 changed files with 6 additions and 1 deletions

View 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".

View 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
{