mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 14:14:16 +00:00
more priority tweaks
This commit is contained in:
1 parent
8733a2c895
commit
464155c5cd
16 files changed
+49
-34
No files matched your search
@@ -1554,6 +1554,7 @@ static switch_status_t check_queue(void)
|
||||
switch_threadattr_create(&thd_attr, node->pool);
|
||||
switch_threadattr_detach_set(thd_attr, 1);
|
||||
switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
|
||||
switch_threadattr_priority_set(thd_attr, SWITCH_PRI_LOW);
|
||||
|
||||
if (switch_thread_create(&thread, thd_attr, switch_core_session_thread_pool_worker, node, node->pool) != SWITCH_STATUS_SUCCESS) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Thread Failure!\n");
|
||||
|
||||
Reference in new issue
Block a user