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]

src/winsup/cygwin ChangeLog exceptions.cc fork ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	noreparent
Changes by:	cgf@sourceware.org	2004-11-20 18:35:12

Modified files:
	winsup/cygwin  : ChangeLog exceptions.cc fork.cc pinfo.cc 
	                 pinfo.h sigproc.h spawn.cc 

Log message:
	* pinfo.h (pinfo::alert_parent): New function.
	* exceptions.cc (sig_handle_tty_stop): Use alert_parent to send "signals" to
	parent.
	* fork.cc (fork_parent): Don't close pi.hProcess.  Let the waiter thread do
	that.
	* pinfo.cc (proc_waiter): Detect case where process exits without setting the
	exit code and use value from GetExitCodeProcess.  Reluctantly implement
	__SIGREPARENT.
	(pinfo::alert_parent): Define.
	* sigproc.h (__SIGREPARENT): New enum.
	* spawn.cc (spawn_guts): Send reparent signal to parent on exec.  Always create
	process in suspended state to avoid races.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=noreparent&r1=1.2592.2.1&r2=1.2592.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.220.2.3&r2=1.220.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.137.2.2&r2=1.137.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.121.2.7&r2=1.121.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pinfo.h.diff?cvsroot=src&only_with_tag=noreparent&r1=1.64.2.2&r2=1.64.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.h.diff?cvsroot=src&only_with_tag=noreparent&r1=1.70.2.2&r2=1.70.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&only_with_tag=noreparent&r1=1.153.2.3&r2=1.153.2.4


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