提交 21d221a1 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix race

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@715 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 92a326c1
......@@ -579,6 +579,7 @@ static switch_status exosip_read_frame(switch_core_session *session, switch_fram
}
if (globals.supress_telephony_events && payload != tech_pvt->payload_num) {
switch_yield(1000);
continue;
}
......@@ -592,7 +593,7 @@ static switch_status exosip_read_frame(switch_core_session *session, switch_fram
break;
}
switch_yield(100);
switch_yield(1000);
}
} else {
......
......@@ -772,6 +772,7 @@ static void *audio_bridge_thread(switch_thread *thread, void *obj)
data->running = -1;
}
switch_yield(1000);
}
//switch_channel_hangup(chan_b);
data->running = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论