提交 ae486fc7 authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #856 in FS/freeswitch from ~ANTONIO/fs-9034:master to master

* commit '465a0b6f':
  FS-9034 revert commit in sofia.c that prevents register in new thread
......@@ -2027,15 +2027,18 @@ void sofia_process_dispatch_event_in_thread(sofia_dispatch_event_t **dep)
sofia_dispatch_event_t *de = *dep;
switch_memory_pool_t *pool;
//sofia_profile_t *profile = (*dep)->profile;
switch_thread_data_t *td;
switch_core_new_memory_pool(&pool);
*dep = NULL;
de->pool = pool;
td = switch_core_alloc(pool, sizeof(*td));
td->func = sofia_msg_thread_run_once;
td->obj = de;
switch_thread_pool_launch_thread(&td);
}
void sofia_process_dispatch_event(sofia_dispatch_event_t **dep)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论