izzyfr

New Member
Joined
Jul 8, 2010
Messages
8
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 ?
 


Solution
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?
Have you tried compatibility mode?
 


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?
 


Solution
Unsure. Have you tried searching the MSDN Library?

Link Removed
 


Back
Top