mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 04:57:05 +00:00
some priority queuing tweaks for performance
This commit is contained in:
1 parent
bf060c6396
commit
8733a2c895
7 files changed
+16
-5
No files matched your search
@@ -7748,6 +7748,7 @@ static void launch_conference_thread(conference_obj_t *conference)
|
||||
switch_set_flag_locked(conference, CFLAG_RUNNING);
|
||||
switch_threadattr_create(&thd_attr, conference->pool);
|
||||
switch_threadattr_detach_set(thd_attr, 1);
|
||||
switch_threadattr_priority_increase(thd_attr);
|
||||
switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
|
||||
switch_mutex_lock(globals.hash_mutex);
|
||||
switch_mutex_unlock(globals.hash_mutex);
|
||||
|
||||
Reference in new issue
Block a user