提交 8ae7b73b authored 作者: Brian West's avatar Brian West

you can't join a detached thread later on

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12396 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 bb10e639
......@@ -669,7 +669,6 @@ switch_thread_t *launch_sofia_worker_thread(sofia_profile_t *profile)
int x = 0;
switch_threadattr_create(&thd_attr, profile->pool);
switch_threadattr_detach_set(thd_attr, 1);
switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
switch_threadattr_priority_increase(thd_attr);
switch_thread_create(&thread, thd_attr, sofia_profile_worker_thread_run, profile, profile->pool);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论