This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

winsup/cygwin ChangeLog dtable.cc fhandler.cc ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2001-11-01 13:15:56

Modified files:
	cygwin         : ChangeLog dtable.cc fhandler.cc fhandler.h 
	                 pinfo.cc pipe.cc select.cc sigproc.cc 
	                 syscalls.cc 

Log message:
	* dtable.cc (dtable::build_fhandler): Issue internal error on unknown device.
	* fhandler.cc (fhandler_base::close): Show both name and handle in debugging
	output.
	* fhandler.h (fhandler_base::get_guard): New virtual method.
	(fhandler_pipe::get_guard): New method.
	(fhandler_socket::ready_for_read): Delete declaration.
	(fhandler_pipe::ready_for_read): Ditto.
	(fhandler_serial::ready_for_read): Ditto.
	(fhandler_console::ready_for_read): Ditto.
	(fhandler_tty_common::ready_for_read): Ditto.
	(fhandler_windows::ready_for_read): Ditto.
	(struct select_record::peek): Declare new method.
	* select.cc (MAKEready): Delete.
	(peek_pipe): Use get_guard method to retrieve potential guard mutex handle.
	(fhandler_base::ready_for_read): Rewrite as generic ready-for-read handler.
	Should only be called for "slow" devices.
	(fhandler_socket::ready_for_read): Delete definition.
	(fhandler_pipe::ready_for_read): Ditto.
	(fhandler_serial::ready_for_read): Ditto.
	(fhandler_console::ready_for_read): Ditto.
	(fhandler_tty_common::ready_for_read): Ditto.
	(fhandler_windows::ready_for_read): Ditto.
	(fhandler_pipe::select_read): Fill in new peek record in select_record
	structure.
	(fhandler_console::select_read): Ditto.
	(fhandler_tty_common::select_read): Ditto.
	(fhandler_serial::select_read): Ditto.
	(fhandler_socket::select_read): Ditto.
	(fhandler_socket::select_read): Ditto.
	(fhandler_tty_slave::ready_for_read): Check for tty not open.  Set errnos
	appropriately.
	* syscalls.cc (_read): Allow ready_for_read to set errno.
	* pinfo.cc (pinfo::init): Return spawn/NO_WAIT process as valid if it is
	initializing.
	* sigproc.cc (getsem): Adjust wait for process to initialize downward to avoid
	huge waits.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.997&r2=1.998
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.64&r2=1.65
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.101&r2=1.102
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.94&r2=1.95
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pipe.cc.diff?cvsroot=uberbaum&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.55&r2=1.56
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.97&r2=1.98
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.165&r2=1.166


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]