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
This commit is contained in:
parent
bb10e6391d
commit
8ae7b73bd7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue