4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 12:59:21 +08:00
Christopher Faylor ca77b848e7 * cygtls.h (_cygtls::signal_exit): Delete from class.
* exception.h (cygwin_exception): New class.
(cygwin_exception::dumpstack): Declare new function.
(cygwin_exception::context): Ditto.
(cygwin_exception::dump_exception): Ditto.
* exceptions.cc (cygwin_exception::dump_exception): Move into cygwin_exception
class.  Accommodate new variable names.
(cygwin_exception::dumpstack): Ditto stackdump -> dumpstack.
(exception::handle): Move andreas processing earlier.  Defer signal processing
decisions to the signal thread where they belong.  Pass exception information
to sig_send via new siginfo_t si_cyg field.
(ctrl_c_handler): Wait for SIGHUP signal to be processed since it could cause a
process exit and we don't want races with thread exit lock.
(signal_exit): Move back here from sigproc.cc.  Modify arguments and remove
from sigpacket class.  Decide when to dump core based on signal type.
(sigpacket::process): Handle exiting signals in context of threads rather than
in the signal thread.  Signal debugger on non-Windows signals.  Remove
setup_signal_exit call.
* sigproc.cc (no_signals_available): Remove argument.
(signal_exit_code): Delete.
(close_my_readsig): Ditto.
(_cygtls::signal_exit): Move to exceptions.cc.
(sigproc_terminate): Don't attempt to terminate signal thread.
(setup_signal_exit): Delete.
(exit_thread): Use new si_cyg entry in siginfo_t.
(sig_send): Just use empty initializer for si.  Accommodate change in
no_signals_available argument.
(wait_sig): Remove attempt to "go asynchronous" on process exit.  Delete
__SIGEXIT handling.  Don't ever exit.
* sigproc.h: Remove __SIGEXIT from signal enum.  Renumber.
* include/cygwin/signal.h (siginfo_t): Add si_cyg entry.
2013-01-02 18:34:06 +00:00
..
2011-12-17 23:39:47 +00:00
2012-12-14 10:52:34 +00:00
2009-01-21 17:14:39 +00:00
2012-11-30 07:14:36 +00:00
2012-11-23 13:22:47 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2009-09-22 02:49:15 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2012-01-01 16:57:25 +00:00
2009-01-21 17:14:39 +00:00
2012-11-30 07:14:36 +00:00
2012-11-26 19:50:45 +00:00
2011-06-06 05:02:13 +00:00
2012-08-09 19:58:53 +00:00
2012-03-19 17:49:40 +00:00
2012-12-21 19:32:43 +00:00
2009-07-07 20:12:44 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2012-12-28 18:06:17 +00:00
2011-12-09 06:57:21 +00:00
2012-12-28 18:06:17 +00:00
2012-08-16 23:34:45 +00:00
2012-06-03 18:02:45 +00:00
2012-08-14 18:38:22 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2012-12-28 18:06:17 +00:00
2012-08-16 23:34:45 +00:00
2011-09-01 19:19:29 +00:00
2012-11-23 14:52:07 +00:00
2012-03-19 17:49:40 +00:00
2010-07-19 18:22:40 +00:00
2012-11-23 13:22:47 +00:00
2011-06-06 05:02:13 +00:00
2009-01-21 17:14:39 +00:00
2012-08-16 23:34:45 +00:00
2012-12-21 18:52:00 +00:00
2012-05-12 19:17:17 +00:00
2012-07-21 22:58:20 +00:00
2010-08-30 01:57:37 +00:00
2009-01-21 17:14:39 +00:00
2012-08-16 23:34:45 +00:00
2011-05-04 22:12:15 +00:00
2012-12-28 18:06:17 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2010-06-21 19:55:12 +00:00
2011-12-30 20:22:28 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2012-03-04 13:19:21 +00:00