src/winsup/cygwin ChangeLog cygheap.cc cygtls. ...

cgf@cygwin.com cgf@cygwin.com
Sat Jan 17 04:13:00 GMT 2004


CVSROOT:	/cvs/src
Module name:	src
Branch: 	cgf-deleteme
Changes by:	cgf@sourceware.org	2004-01-17 04:13:21

Modified files:
	winsup/cygwin  : ChangeLog cygheap.cc cygtls.h dcrt0.cc 
	                 dtable.cc dtable.h exceptions.cc 
	                 fhandler_console.cc gendef pipe.cc signal.cc 
	                 sigproc.cc syscalls.cc thread.cc tlsoffsets.h 
	                 winsup.h 
	winsup/cygwin/include/cygwin: signal.h 

Log message:
	* cygtls.h (_threadinfo::threadkill): New element.
	(_threadinfo::set_threadkill): Declare new function.
	(_threadinfo::reset_threadkill): Declare new function.
	* dcrt0.cc (dcrt0_1): Call here so that it will be possible to attach to
	running process with #(*& Windows Me/9x.
	(initial_env): Try to initialize strace if uninitialized.
	* gendef: Don't zero signal if threadkill is set since that will happen in the
	called function.
	* signal.cc (sigwait): Ensure cleanup in error conditions.
	* sigproc.cc (sig_send): Clear packet mask storage.
	(wait_subproc): Fill in child exit code in siginfo_t structure.
	* thread.cc (pthread_kill): Set threadkill flag.
	* tlsoffsets.h: Regenerate.  Throughout, use siginfo_t to fill out all signal
	information for "kernel" signals.
	* cygtls.h (_threadinfo::set_siginfo): Declare new function.
	* cygtls.cc (_threadinfo::set_siginfo): Define new function.
	* dcrt0.cc (do_exit): Accommodate siginfo_t considerations.
	* exceptions.cc (handle_exceptions): Ditto.
	(sig_handle_tty_stop): Ditto.
	(ctrl_c_handler): Use killsys() to send signal.
	(sigpacket::process): Rename from sig_handle.  Use siginfo_t field from
	sigpacket for everything.
	(tty_min::kill_pgrp): Accommodate siginfo_t considerations.
	(fhandler_termios::bg_check): Ditto.
	* fhandler_tty.cc (fhandler_tty_slave::ioctl): Use killsys() to send signal.
	* signal.cc (kill_worker): Rewrite to use siginfo_t second argument.
	(kill_pgrp): Ditto.
	(kill0): Define new function pulled from kill().
	(kill): Rewrite as frontend to kill0.
	(killsys): Define new function.
	* sigproc.cc (sigelem): Eliminate.
	(sigpacket): Move to sigproc.h.  Subsume sigelem.
	(pending_signals): Use sigpacket rather than sigelem for everything.
	(sig_clear): Ditto.
	(wait_sig): Ditto.
	(sig_send): Rewrite to use siginfo_t argument.
	(sig_send): New function wratpper to sig_send with siginfo_t argument.
	(wait_subproc): Accommodate siginfo_t considerations.
	* thread.cc (pthread_kill): Ditto.
	* sigproc.h (sigpacket): Move here.
	(sigpacket::process): Declare "new" function.
	(sig_handle): Eliminate declaration.
	(sig_send): Declare with new paramaters.
	(killsys): Declare new function.
	(kill_pgrp): Declare.
	* winsup.h: Move some signal-specific stuff to sigproc.h.
	* include/cygwin/signal.h: Tweak some siginfo_t stuff.
	* fhandler_console.cc (fhandler_console::close): Remove obsolete test for
	vfork_cleanup.
	* pipe.cc (fhandler_pipe::close): Add comment.
	* cygheap.cc (init_cygheap::close_ctty): Don't NULL ctty if it is still active.
	* dtable.cc (dtable::vfork_parent_restore): Store ctty_on_hold prior to calling
	close_all_files since it will be zeroed.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.2260.2.7&r2=1.2260.2.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.90.2.2&r2=1.90.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.h.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.9.2.5&r2=1.9.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.202.2.5&r2=1.202.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.131.2.2&r2=1.131.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.25.2.3&r2=1.25.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.192.2.4&r2=1.192.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_console.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.120.2.1&r2=1.120.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gendef.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.1&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pipe.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.54&r2=1.54.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/signal.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.55.2.1&r2=1.55.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.174.2.3&r2=1.174.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.313.2.1&r2=1.313.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.156.2.2&r2=1.156.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tlsoffsets.h.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.3.2.2&r2=1.3.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.131.2.2&r2=1.131.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/signal.h.diff?cvsroot=src&only_with_tag=cgf-deleteme&r1=1.1.2.1&r2=1.1.2.2



More information about the Cygwin-cvs mailing list