some priority queuing tweaks for performance

This commit is contained in:
Anthony Minessale committed 2012-10-01 11:47:26 -05:00
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);