windows - set process priority class to ABOVE_NORMAL_PRIORITY_CLASS previous default was NORMAL_PRIORITY_CLASS before today

This commit is contained in:
Jeff Lenk 2011-03-22 15:15:09 -05:00
parent 257bc9ff41
commit 57b6255b17
1 changed files with 1 additions and 1 deletions

View File

@ -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
/*