Increase priority of "main" thread.

This commit is contained in:
LoRd_MuldeR 2013-04-16 21:54:01 +02:00
parent b4b1d12df2
commit a94e6ecd34

View File

@ -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();