Christopher Faylor 9d2155089e * cygtls.h (_cygtls::reset_signal_arrived): Actually reset the signal_arrived
event.
(_cygtls::handle_SIGCONT): Declare ew function.
* cygwait.cc (is_cw_sig_handle): Delete.
(is_cw_sig_cont): New convenience define.
(cygwait): Clear signal if is_cw_sig_cont and we got a SIGCONT.
* cygwait.h (cw_wait_mask): Add cw_sig_cont.
* exceptions.cc (sig_handle_tty_stop): Tighten "incyg" region.  Use cw_sig_cont
param for cygwait.  Don't zero signal here outside of lock.
(sigpacket::setup_handler): Don't check for in_forkee since we will now never
get here in that state.
(_cygtls::handle_SIGCONT): Define new function.
(sigpacket::process): Call handle_SIGCONT early to deal with SIGCONT.  Nuke
continue_now handling.  Allow SIGKILL to kill a suspended process.  Delete a
couple of now-unneeded labels.
(_cygtls::call_signal_handler): Reorganize setting of incyg within lock.
* sigproc.cc (pending_signals): Simplify.
(pending_signals::clear): New method.
(_cygtls::remove_wq): Reorganize to always close wq.thread_ev if it exists to
avoid handle leaks.
(sig_clear): Simplify by just calling sigq.clear().
(sig_dispatch_pending): Always call sigq.pending even in signal thread to force
another loop in wait_sig.
(sig_send): Remove a "goto out" just before out: label.
(pending_signals::add): Simplify.
(pending_signals::del): Delete.
(pending_signals::next): Delete.
(wait_sig): Define variable q to be the start of the signal queue.  Just
iterate through sigq queue, deleting processed or zeroed signals.  Only set
clearwait when the current signal is SIGCHLD.
* sigproc.h: Add a comment about an unused enum.
2013-04-09 01:01:19 +00:00
..
2011-12-17 23:39:47 +00:00
.
2013-04-01 11:04:41 +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
2013-03-31 12:37:45 +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
2013-01-21 07:42:02 +00:00
2013-01-21 07:42:02 +00:00
2012-03-19 17:49:40 +00:00
2009-07-07 20:12:44 +00:00
2013-01-31 05:26:47 +00:00
2013-03-31 12:37: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
2011-09-01 19:19:29 +00:00
2013-01-21 16:21:23 +00:00
2012-03-19 17:49:40 +00:00
2010-07-19 18:22:40 +00:00
2013-03-31 12:37:45 +00:00
2013-03-31 12:37:45 +00:00
2013-01-31 05:26:47 +00:00
2012-08-16 23:34:45 +00:00
2011-05-04 22:12:15 +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
2012-03-04 13:19:21 +00:00