* cygthread.cc (cygthread::detach): Make error message a little more detailed.

* fhandler.cc (fhandler_base::raw_read): Ditto for debug message.
* dcrt0.cc (do_exit): Add some more synchronization tests.
* fhandler_fifo.cc (fhandler_fifo::dup): Don't duplicate a nonexistent handle.
Use derived return value rather than always retuning 0.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Wnet -> WNet.
* winsup.h (exit_states): Add a couple of new exit states.
This commit is contained in:
Christopher Faylor
2005-06-07 18:41:31 +00:00
parent 7066fc51d7
commit b739751db9
7 changed files with 33 additions and 9 deletions

View File

@@ -344,7 +344,7 @@ cygthread::detach (HANDLE sigwait)
break;
default:
if (!exiting)
api_fatal ("WFMO failed waiting for cygthread '%s'", __name);
api_fatal ("WFMO failed waiting for cygthread '%s', %E", __name);
break;
}
/* WAIT_OBJECT_0 means that the thread successfully read something,