Increase priority of "main" thread.
This commit is contained in:
parent
b4b1d12df2
commit
a94e6ecd34
@ -49,6 +49,9 @@ static int lamexp_main(int argc, char* argv[])
|
||||
int iShutdown = shutdownFlag_None;
|
||||
bool bAccepted = true;
|
||||
|
||||
//Increase "main" thread priority
|
||||
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST);
|
||||
|
||||
//Get CLI arguments
|
||||
const QStringList &arguments = lamexp_arguments();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user