Jonathan Rose 879208db8e 
	
	
	Ensures Asterisk closes when receiving terminal signals in 'no fork' mode. ... 
			When catching a signal, in no fork mode the console thread is identical to the thread
responsible for catching the signal and closing Asterisk, which requires it to first
dispense with the console thread. Prior to this patch, if these threads were identical,
upon receiving a killing signal, the thread will send an URG signal to itself, which
we also catch and then promptly do nothing with. Obviously this isn't useful behavior.
(closes issue ASTERISK-19127)
Reported By: Bryon Clark
Patches:
	quit_on_signals.patch uploaded by Bryon Clark (license 6157)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@349672  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
		
	 
		2012-01-05 15:25:29 +00:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2009-08-01 11:29:25 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-27 22:30:38 +00:00 
		 
	
		
			
			
			
			
			
			2010-10-14 18:45:02 +00:00 
		 
	
		
			
			
			
			
			
			2010-12-02 18:13:49 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-23 22:52:59 +00:00 
		 
	
		
			
			
			
			
			
			2009-08-19 22:38:46 +00:00 
		 
	
		
			
			
			
			
			
			2010-12-20 09:14:29 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-20 22:38:54 +00:00 
		 
	
		
			
			
			
			
			
			2010-10-28 20:00:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-03-07 00:54:42 +00:00 
		 
	
		
			
			
			
			
			
			2010-10-28 20:00:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-10-28 20:00:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-03-07 00:54:42 +00:00 
		 
	
		
			
			
			
			
			
			2012-01-05 15:25:29 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-14 20:48:59 +00:00 
		 
	
		
			
			
			
			
			
			2010-09-24 03:42:37 +00:00 
		 
	
		
			
			
			
			
			
			2009-11-06 15:42:46 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-10-25 22:04:59 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-28 21:30:20 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2010-07-20 22:26:23 +00:00 
		 
	
		
			
			
			
			
			
			2011-05-19 23:28:13 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-03-14 16:50:59 +00:00 
		 
	
		
			
			
			
			
			
			2011-06-03 21:49:17 +00:00 
		 
	
		
			
			
			
			
			
			2011-06-01 23:11:55 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-26 19:30:39 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-16 23:51:13 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-11-11 17:56:51 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-01 20:53:37 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2010-07-09 17:00:22 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-01 22:16:23 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-19 15:08:03 +00:00 
		 
	
		
			
			
			
			
			
			2010-11-10 12:46:27 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-09 16:09:09 +00:00 
		 
	
		
			
			
			
			
			
			2009-07-08 16:43:12 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-22 22:55:28 +00:00 
		 
	
		
			
			
			
			
			
			2011-05-16 21:00:55 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-07-25 19:49:40 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-13 07:11:36 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-16 23:51:13 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-11 20:42:56 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-02 15:57:02 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2010-06-17 17:23:43 +00:00 
		 
	
		
			
			
			
			
			
			2010-09-20 22:09:16 +00:00 
		 
	
		
			
			
			
			
			
			2011-05-03 19:55:49 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2010-06-08 05:29:08 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-01-31 06:41:36 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2010-07-08 14:48:42 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2011-10-10 14:14:48 +00:00 
		 
	
		
			
			
			
			
			
			2011-04-20 05:25:15 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-26 19:30:39 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-19 20:27:03 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-07 21:36:57 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-08-18 21:26:01 +00:00 
		 
	
		
			
			
			
			
			
			2010-12-10 16:26:46 +00:00 
		 
	
		
			
			
			
			
			
			2012-01-04 18:30:24 +00:00 
		 
	
		
			
			
			
			
			
			2011-05-03 19:55:49 +00:00 
		 
	
		
			
			
			
			
			
			2010-09-07 19:08:09 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-12-29 15:13:03 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-04 19:33:12 +00:00 
		 
	
		
			
			
			
			
			
			2010-08-10 18:05:07 +00:00 
		 
	
		
			
			
			
			
			
			2009-07-11 19:15:03 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-11 00:43:14 +00:00 
		 
	
		
			
			
			
			
			
			2009-11-04 14:05:12 +00:00 
		 
	
		
			
			
			
			
			
			2011-05-27 23:45:41 +00:00 
		 
	
		
			
			
			
			
			
			2009-07-09 08:31:24 +00:00 
		 
	
		
			
			
			
			
			
			2011-01-10 22:39:31 +00:00 
		 
	
		
			
			
			
			
			
			2010-05-18 22:48:51 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-01 21:11:39 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2010-02-22 06:45:52 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-30 21:41:31 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2011-07-28 21:42:41 +00:00 
		 
	
		
			
			
			
			
			
			2011-08-22 18:15:51 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2010-11-08 21:59:45 +00:00 
		 
	
		
			
			
			
			
			
			2010-08-12 20:15:41 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-06 17:49:38 +00:00 
		 
	
		
			
			
			
			
			
			2009-08-19 22:38:46 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-11 21:54:47 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-22 18:07:02 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-10 14:14:48 +00:00