Is there any possible way of disabling multi core functionality on windows and just using a single core using C\C++? Any library that allows it? My application access one of our chip modules used to communicate with the host. We suspect someone else is accessing this module and changes it. The strange thing is that it only happens on a multi core system (Windows 7 64bit), and when you set windows to only use a single core (How to disable a core) everything works great.
It sounds to me that windows shouldn't allow any program to accomplish it programmatic, but I hope I'm mistaking.
EDIT: I'm not looking for suggestion regrading my threading skills. My problem is possibly more hardware or firmware related (Maybe the 2nd core is also accessing my chip module).
2nd EDIT: This is NOT a software problem! I only want to know if it's possible to disable multi core using C\C++. I don't seek threading advice as I'm 100% sure the problem doesn't lay there.
3rd EDIT: issue was SOLVED. The problem was with another process that my customer ran that accessing the same shared memory my application was accessing. As I previously mentioned, there was no problem with my thread and I never got the answer I looked for: A simple Yes or No regarding weather it is possible to disable one of the cores using C++. Processor affinity was not helpfull in my special case.