src/winsup/cygwin ChangeLog fhandler.h fhandle ...

corinna@cygwin.com corinna@cygwin.com
Wed Jun 14 20:19:00 GMT 2006


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2006-06-14 20:19:10

Modified files:
	winsup/cygwin  : ChangeLog fhandler.h fhandler_socket.cc 

Log message:
	* fhandler.h (class fhandler_socket): Add private mutex handle
	accept_mtx.
	* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
	accept_mtx to NULL.
	(fhandler_socket::dup): Duplicate accept_mtx, if available.
	(fhandler_socket::listen): Create accept_mtx before trying to listen.
	(fhandler_socket::prepare): Wait for accept_mtx if available to
	serialize accepts on the same socket.
	(fhandler_socket::release): Release accept_mtx.
	(fhandler_socket::close): Close accept_mtx on successful closesocket.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3541&r2=1.3542
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.292&r2=1.293
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.186&r2=1.187



More information about the Cygwin-cvs mailing list