mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-30 14:06:04 +00:00
windows - set process priority class to ABOVE_NORMAL_PRIORITY_CLASS previous default was NORMAL_PRIORITY_CLASS before today
This commit is contained in:
parent
257bc9ff41
commit
57b6255b17
@ -609,7 +609,7 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
|
|||||||
static int32_t set_priority(void)
|
static int32_t set_priority(void)
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
|
SetPriorityClass(GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
|
||||||
#else
|
#else
|
||||||
#ifdef USE_SCHED_SETSCHEDULER
|
#ifdef USE_SCHED_SETSCHEDULER
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user