d*l
2 楼
我将进程的优先级在WinMain中设的很高:
SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS); // Good!!
又用了两个最高优先级的线程。但是感觉将程序窗口最小化(或不停的最小化最大化)
也会使得线程的运行有所变慢,似乎线程的优先级并没有得到保证啊?
那位大侠给说说看?
谢谢!
SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS); // Good!!
又用了两个最高优先级的线程。但是感觉将程序窗口最小化(或不停的最小化最大化)
也会使得线程的运行有所变慢,似乎线程的优先级并没有得到保证啊?
那位大侠给说说看?
谢谢!
d*l
3 楼
是不是应该让我的程序运行在kernel mode下才行呢?如果是的话,如何编程和编译?
谢谢!
谢谢!
d*l
4 楼
??
d*l
5 楼
Solved this problem after consulting our software team. The reason was that
I used an API function inside my thread to invalidate a displaying view-port
. That is not good for a work thread although it remains workable under
usual conditions.
I used an API function inside my thread to invalidate a displaying view-port
. That is not good for a work thread although it remains workable under
usual conditions.
相关阅读
android怎么写一个binary command? (转载)int (*b)[2]; 是什么意思?请教一个结构体占内存大小的问题学compiler的书哪本好?textmate 团购Amex SPG卡免费送25K points 可换500刀现金C++ Q88: nested non-template class (转载)question for java runtime.execIn which language are the Java compiler, JVM and Java written?请推荐一款windows xp 平台上优秀的C语言编译/编辑器Fun picture[技术问题] 修改一个php + mysql, 想换成其他的。C++中使用back_inserter为啥可以不用#include <iterator>和using std::back_inserter;??Job opportunities in GE (contractor to Hire)What does the default constructor do?请问一个正则表达式的问题this和&*this的区别Java Jobs64位长的bitarray如何最快转换成integer?《移植应用程序到IPv6》英文文字版[PDF]