src/winsup/cygwin ChangeLog cygthr ...
Mon Jan 19 05:46:00 GMT 2004

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2004-01-19 05:46:54

Modified files:
	winsup/cygwin  : ChangeLog cygthread.h 
	        cygtls.h cygwin.din dtable.h 
	        tlsoffsets.h winsup.h 
	winsup/cygwin/include/cygwin: signal.h version.h 
Added files:
	winsup/cygwin  : 

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_child): Call fixup_timers_after_fork.
	* (sigwait): Remove unused variable.
	* 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.
	* Bump thread count.
	* (sigwaitinfo): Define new function.
	(sigwait): Redefine based on sigwaitinfo.
	* include/cygwin/signal.h (sigwaitinfo): Declare.
	(sigwait): Ditto.
	* (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_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.
	* (sigwait): Ensure cleanup in error conditions.
	* (sig_send): Clear packet mask storage.
	(wait_subproc): Fill in child exit code in siginfo_t structure.
	* (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.
	* (_threadinfo::set_siginfo): Define new function.
	* (do_exit): Accommodate siginfo_t considerations.
	* (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_slave::ioctl): Use killsys() to send signal.
	* (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.
	* (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.
	* (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.


More information about the Cygwin-cvs mailing list