Merge changes from team/russell/iax2_frame_queue
authorRussell Bryant <russell@russellbryant.com>
Tue, 27 Nov 2007 23:50:25 +0000 (23:50 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 27 Nov 2007 23:50:25 +0000 (23:50 +0000)
commit753f7086cd90af3fe0161a14a5bdc565d673374f
tree0b2505128aa20c6f3800aa1d435a408a2c86a02c
parent63bca744a2eab5a4f48f73ca80554f94f7883f18
Merge changes from team/russell/iax2_frame_queue

This patch is an optimization for chan_iax2.  This module is now heavily
multi-threaded.  However, there is still a good number of globally shared
resources that prevent things from happen asynchronously.  One of those things
was the global IAX frame queue.  This queue was used to hold frames that have
been deferred for transmitting by another thread, and frames that may need to
get retransmitted.

I changed the frame queue to be per-call, since almost all of the frame queue
handling only cares about frames specific to a call number.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c