Windows 7 one thread in Real Time priority freezes the OS

izzyfr

New Member
Joined
Jul 8, 2010
Hey,
I just mooved from WinXP to Win7 with my software.
My software needs to have real time response to I/O so it makes busy-wait in one thread (wich has affinity to run on one CPU).

The result is 100% CPU on one of the cores and 0 CPU for others, in WinXP it worked just fine.
In win7 the system freezes. The software is a console software
(for Windows program it beaves a bit diffrent. only if the main thread make busy-wait without peeking messages it freezes)

Any ideas ?
 
Same behavior.
I suspect that windows kernel makes some parallel computing using all CPUs and busy wait make it stack.
Can you set the kernel affinity?
 
Back
Top Bottom