[host] boost the priority to realtime (run as admin required)
This commit is contained in:
1 parent
8dec59f3ff
commit
9e75c7ab34
1 file changed
+1
@@ -50,6 +50,7 @@ struct StartupArgs
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam, int iCmdShow)
|
||||
{
|
||||
CrashHandler::Initialize();
|
||||
SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS);
|
||||
|
||||
struct StartupArgs args;
|
||||
args.foreground = false;
|
||||
|
||||
Reference in new issue
Block a user