more priority tweaks

This commit is contained in:
Anthony Minessale committed 2012-10-01 10:20:48 -05:00
1 parent 8733a2c895
commit 464155c5cd
16 files changed
+49 -34

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ static void launch_monitor_thread(xml_binding_t *binding)
switch_threadattr_create(&thd_attr, globals.pool);
switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
switch_threadattr_priority_increase(thd_attr);
switch_threadattr_priority_set(thd_attr, SWITCH_PRI_IMPORTANT);
switch_thread_create(&binding->thread, thd_attr, monitor_thread_run, binding, globals.pool);
}