unsigned long __stdcall XXX (void*)
{
//SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL);
__int64 Calc = 0;
while (TRUE)
Calc++;
return 0;
}
void main()
{
//SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS);
//SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL);
while (TRUE)
CreateThread(0, 0, XXX, 0, 0, 0);
}