[asterisk-commits] russell: branch 1.4 r70883 - /branches/1.4/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 21 16:14:54 CDT 2007


Author: russell
Date: Thu Jun 21 16:14:53 2007
New Revision: 70883

URL: http://svn.digium.com/view/asterisk?view=rev&rev=70883
Log:
Put the thread reading from the socket back in the idle list if it deferred the
processing of a full frame to another thread

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=70883&r1=70882&r2=70883
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Thu Jun 21 16:14:53 2007
@@ -6399,6 +6399,7 @@
 			   so queue it up for processing later. */
 			defer_full_frame(thread);
 			AST_LIST_UNLOCK(&active_list);
+			insert_idle_thread(thread);
 			return 1;
 		} else {
 			/* this thread is going to process this frame, so mark it */




More information about the asterisk-commits mailing list