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 fhandler.h select.cc s ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2001-11-03 18:31:58

Modified files:
	cygwin         : ChangeLog fhandler.h select.cc syscalls.cc 

Log message:
	* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
	(fhandler_tty_slave::ready_for_read): Ditto.
	(select_record): Remove poll, initialize peek.
	* select.cc: Remove all poll functions, throughout.  Change second argument of
	peek_* functions to 'bool' throughout.  Specifically initialize *_ready
	variables throughout.
	(select_stuff::poll): Subsume previous poll functionality.
	(peek_pipe): Don't grab guard mutex when in select loop.  select()/read() is
	racy by design so there is no need to worry about a race in select().
	(fhandler_base::ready_for_read): Remove unused argument.
	(fhandler_tty_slave::ready_for_read): Ditto.
	* syscalls.cc (_read): Eliminate third argument in ready_for_read call.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.1003&r2=1.1004
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.98&r2=1.99
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.60&r2=1.61
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.168&r2=1.169


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