提交 7c840030 authored 作者: Anthony Minessale's avatar Anthony Minessale

bump important threads to realtime priority

上级 90f3ab40
...@@ -640,7 +640,7 @@ struct apr_threadattr_t { ...@@ -640,7 +640,7 @@ struct apr_threadattr_t {
SWITCH_DECLARE(switch_status_t) switch_threadattr_priority_increase(switch_threadattr_t *attr) SWITCH_DECLARE(switch_status_t) switch_threadattr_priority_increase(switch_threadattr_t *attr)
{ {
#ifndef WIN32 #ifndef WIN32
attr->priority = 10; attr->priority = 99;
#endif #endif
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论