CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: [email protected] 2011-12-18 04:07:48
Modified files:
cygwin : ChangeLog fhandler.cc syscalls.cc
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5634&r2=1.5635
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.419&r2=1.420
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.607&r2=1.608