提交 57b6255b authored 作者: Jeff Lenk's avatar Jeff Lenk

windows - set process priority class to ABOVE_NORMAL_PRIORITY_CLASS previous…

windows - set process priority class to ABOVE_NORMAL_PRIORITY_CLASS previous default was NORMAL_PRIORITY_CLASS before today
上级 257bc9ff
......@@ -609,7 +609,7 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
static int32_t set_priority(void)
{
#ifdef WIN32
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
SetPriorityClass(GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
#else
#ifdef USE_SCHED_SETSCHEDULER
/*
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论