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 Makefile.in cygthr ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2004-01-19 05:46:54

Modified files:
	winsup/cygwin  : ChangeLog Makefile.in cygthread.cc cygthread.h 
	                 cygtls.cc cygtls.h cygwin.din dcrt0.cc dtable.h 
	                 exceptions.cc fhandler_termios.cc 
	                 fhandler_tty.cc fork.cc gendef signal.cc 
	                 sigproc.cc sigproc.h syscalls.cc thread.cc 
	                 times.cc tlsoffsets.h winsup.h 
	winsup/cygwin/include/cygwin: signal.h version.h 
Added files:
	winsup/cygwin  : timer.cc 

Log message:
	* cygwin/include/signal.h: Add copyright notice.
	* cygwin.din: Make clock SIGFE.  Add clock_gettime, sigwaitinfo, timer_create,
	timer_delete, timer_settime.
	* include/cygwin/version.h: Reflect above additions.
	* fork.cc (fork_child): Call fixup_timers_after_fork.
	* signal.cc (sigwait): Remove unused variable.
	* timer.cc: New file.
	(clock_gettime): Define new function.
	(timer_tracker): Define new struct used by timer functions.
	(timer_tracker::timer_tracker): New function.
	(to_us): New function.
	(timer_thread): New function.
	(timer_tracker::settime): New function.
	(timer_create): New function.
	(timer_settime): New function.
	(timer_delete): New function.
	(fixup_timers_after_fork): New function.
	* cygthread.cc: Bump thread count.
	* signal.cc (sigwaitinfo): Define new function.
	(sigwait): Redefine based on sigwaitinfo.
	* include/cygwin/signal.h (sigwaitinfo): Declare.
	(sigwait): Ditto.
	* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
	ctty == ctty_on_hold.
	* 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/timer.cc.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2267&r2=1.2268
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/Makefile.in.diff?cvsroot=src&r1=1.151&r2=1.152
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.cc.diff?cvsroot=src&r1=1.41&r2=1.42
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.h.diff?cvsroot=src&r1=1.17&r2=1.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.cc.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygtls.h.diff?cvsroot=src&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=src&r1=1.111&r2=1.112
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.203&r2=1.204
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dtable.h.diff?cvsroot=src&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=src&r1=1.193&r2=1.194
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=src&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&r1=1.125&r2=1.126
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&r1=1.123&r2=1.124
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gendef.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/signal.cc.diff?cvsroot=src&r1=1.55&r2=1.56
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=src&r1=1.175&r2=1.176
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.h.diff?cvsroot=src&r1=1.62&r2=1.63
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.314&r2=1.315
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.157&r2=1.158
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/times.cc.diff?cvsroot=src&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/tlsoffsets.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&r1=1.132&r2=1.133
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/signal.h.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=src&r1=1.152&r2=1.153


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