newlib/winsup
Corinna Vinschen 79d65a1ed2 Try to handle concurrent close on socket more gracefully
* fhandler_socket.cc (LOCK_EVENTS): Don't enter critical section with
	invalid mutex handle since then socket has been closed.
	(UNLOCK_EVENTS): Close critical section.
	(fhandler_socket::evaluate_events): Handle calling connect on shutdown
	socket.
	(fhandler_socket::wait_for_events): Try for pthread_testcancel in case
	of WAIT_FAILED.  Try to come up with a better errno in case we waited
	on an invalid handle.
	(fhandler_socket::release_events): Change wsock_mtx and wsock_evt to
	NULL under lock to avoid accessing invalid handle.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-15 18:29:56 +02:00
..
cygserver * pwdgrp.cc: Handle default fetch_user_arg_type_t in switches 2015-02-23 21:00:31 +00:00
cygwin Try to handle concurrent close on socket more gracefully 2015-06-15 18:29:56 +02:00
doc Improve strace to log most Windows debug events 2015-06-11 12:00:51 +01:00
lsaauth * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
testsuite * configure.ac: Convert to new AC_INIT style. 2014-08-15 21:24:35 +00:00
utils Improve strace to log most Windows debug events 2015-06-11 12:00:51 +01:00
acinclude.m4
aclocal.m4 winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
autogen.sh
c++wrap
ccwrap
ChangeLog * configure.ac: Convert to new AC_INIT style. 2014-11-13 12:12:56 +00:00
config.guess
config.sub
configure * configure.ac: Convert to new AC_INIT style. 2014-11-13 12:12:56 +00:00
configure.ac * configure.ac: Convert to new AC_INIT style. 2014-11-13 12:12:56 +00:00
configure.cygwin winsup/ChangeLog: 2013-11-07 00:19:52 +00:00
COPYING
CYGWIN_LICENSE
install-sh
Makefile.common * Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit. 2014-08-07 16:19:09 +00:00
Makefile.in * Makefile.in: Ignore errors on doc install. 2014-02-18 19:58:39 +00:00
README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin