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]
Other format: [Raw text]

winsup/cygwin ChangeLog dcrt0.cc debug.cc devi ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sourceware.org	2005-09-13 17:08:55

Modified files:
	cygwin         : ChangeLog dcrt0.cc debug.cc devices.cc 
	                 devices.in dtable.cc environ.cc errno.cc 
	                 exceptions.cc fhandler.cc fhandler_console.cc 
	                 pinfo.cc sigproc.cc sigproc.h 

Log message:
	* dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state
	appropriately.
	* pinfo.cc (pinfo::exit): Always call sigproc_terminate here.  Rely on
	sigproc_terminate to signal signal thread to handle eventual process exit.
	* sigproc.cc (no_signals_available): Change criteria for determining if this
	process can handle signals to itself.
	(my_sendsig): New variable.  Copy of my sendsig handle.
	(proc_can_be_signalled): Don't send signals if exit code is set.
	(sigproc_terminate): Use and set exit_state appropriately to determine when to
	do anything.  Send __SIGEXIT to self to control process exit.
	(sig_send): Use my_sendsig for sending signals.  Don't call
	proc_can_be_signalled for myself since the criteria is now different for
	sending signals to myself.
	(wait_sig): Copy myself->sendsig to my_sendsig for future use.  Exit signal
	loop when __SIGEXIT is received.  Wait for main thread to exit and use its exit
	status to actually exit process.
	* sigproc.h (__SIGEXIT): New enum.
	* dcrt0.cc (alloc_stack): Eliminate superfluous "return;".
	* debug.cc (add_handle): Ditto.
	* devices.in (device::parse): Ditto.
	* dtable.cc (dtable::vfork_parent_restore): Ditto.
	(dtable::vfork_child_fixup): Ditto.
	* environ.cc (parse_options): Ditto.
	* errno.cc (seterrno_from_win_error): Ditto.
	* exceptions.cc (sig_handle_tty_stop): Ditto.
	(set_signal_mask): Ditto.
	* fhandler.cc (fhandler_base::read): Ditto.
	(fhandler_base::operator delete): Ditto.
	(fhandler_base::seekdir): Ditto.
	(fhandler_base::rewinddir): Ditto.
	* fhandler_console.cc (fhandler_console::read): Ditto.
	(fhandler_console::fixup_after_exec): Ditto.
	* sigproc.cc (sigproc_init): Ditto.
	(sigproc_terminate): Ditto.
	
	* devices.cc: Regenerate.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3077&r2=1.3078
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.261&r2=1.262
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/debug.cc.diff?cvsroot=uberbaum&r1=1.54&r2=1.55
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/devices.cc.diff?cvsroot=uberbaum&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/devices.in.diff?cvsroot=uberbaum&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.157&r2=1.158
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/environ.cc.diff?cvsroot=uberbaum&r1=1.123&r2=1.124
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/errno.cc.diff?cvsroot=uberbaum&r1=1.59&r2=1.60
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.247&r2=1.248
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.241&r2=1.242
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.140&r2=1.141
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.185&r2=1.186
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.239&r2=1.240
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.h.diff?cvsroot=uberbaum&r1=1.82&r2=1.83


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