From: Russell Bryant Date: Thu, 21 Jun 2007 21:14:53 +0000 (+0000) Subject: Put the thread reading from the socket back in the idle list if it deferred the X-Git-Tag: 1.4.6~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbe2d8eeb628829412ee1f474696e00c65049f05;p=thirdparty%2Fasterisk.git Put the thread reading from the socket back in the idle list if it deferred the processing of a full frame to another thread git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70883 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 4c0b0293bf..48358b54fe 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -6399,6 +6399,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata) 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 */