mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-04 12:12:48 +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
This commit is contained in:
committed by
asterisk-org-access-app[bot]
parent
291c1e4c1f
commit
a824a0cdb4
@@ -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