mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +00:00
res_stasis: fix intermittent delays on adding channel to bridge
Previously, on command execution, the control thread was awoken by
sending a SIGURG. It was found that this still resulted in some
instances where the thread was not immediately awoken.
This change instead sends a null frame to awaken the control thread,
which awakens the thread more consistently.
Resolves: #801
(cherry picked from commit bdee743cd4)
This commit is contained in:
committed by
Asterisk Development Team
parent
84e93d1b57
commit
40fbf916cd
@@ -48,15 +48,6 @@ struct stasis_app_control *control_create(struct ast_channel *channel, struct st
|
||||
*/
|
||||
void control_flush_queue(struct stasis_app_control *control);
|
||||
|
||||
/*!
|
||||
* \brief set the control's thread id
|
||||
* \since 18
|
||||
*
|
||||
* \param control Control object on which to set the thread id.
|
||||
* \param threadid id to set
|
||||
*/
|
||||
void control_set_thread(struct stasis_app_control *control, pthread_t threadid);
|
||||
|
||||
/*!
|
||||
* \brief Dispatch all commands enqueued to this control.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user