]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.cc (fhandler_base::close): Move setting isclosed() from here to
authorChristopher Faylor <me@cgf.cx>
Sun, 18 Dec 2011 04:07:47 +0000 (04:07 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 18 Dec 2011 04:07:47 +0000 (04:07 +0000)
commitd004a279716433bf3dc8477bc838d490028d223d
tree31e07ddaf6d7fc259343f355df0395f0baba43a9
parent1b23b30b29eebbe7c9953f2a7470f31a0feb8702
* fhandler.cc (fhandler_base::close): Move setting isclosed() from here to
closed().
(fhandler_base_overlapped::close): Correct comment.
(fhandler_base_overlapped::destroy_overlapped): Signal overlapped event before
closing it to potentially wake up a waiting thread.
(fhandler_base_overlapped::wait_overlapped): Expand setting of err when closed
to encompass non-signal event.  Test for a cancel event before making
nonblocking decisions.
* syscalls.cc (close): Set closed flag here so that any concurrently executing
functions will be notified ASAP.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/syscalls.cc
This page took 0.034639 seconds and 5 git commands to generate.