mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user