bridging: Fix a livelock with local channel optimization.

Use a better means of waking up the bridge channel thread.
........

Merged revisions 397650 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2013-08-26 16:25:39 +00:00
parent 13dbdd1ae7
commit d647b4ae02
2 changed files with 2 additions and 8 deletions

View File

@@ -144,8 +144,6 @@ struct ast_bridge_channel {
AST_LIST_HEAD_NOLOCK(, ast_frame) wr_queue;
/*! Pipe to alert thread when frames are put into the wr_queue. */
int alert_pipe[2];
/*! TRUE if the bridge channel thread is waiting on channels (needs to be atomically settable) */
int waiting;
/*!
* \brief The bridge channel thread activity.
*