OSDN Git Service
(root)
/
lamexp
/
LameXP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b1d12
)
Increase priority of "main" thread.
author
LoRd_MuldeR
<mulder2@gmx.de>
Tue, 16 Apr 2013 19:54:01 +0000
(21:54 +0200)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Tue, 16 Apr 2013 19:54:01 +0000
(21:54 +0200)
src/Main.cpp
patch
|
blob
|
history
diff --git
a/src/Main.cpp
b/src/Main.cpp
index
0a13670
..
1b0ac81
100644
(file)
--- a/
src/Main.cpp
+++ b/
src/Main.cpp
@@
-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();