AmitCohen222 wrote:
no other process, mine or the OS's, is allowed to run on it) ? is it possible ?
I don't believe so. You may want to use SetThreadAffinityMask to distribute threads among processors, but there's no guarantee the system will actually use your suggestions. Try it and test it thoroughly to see if you're actually getting any benefit - from my experience, on XP and above, the OS thread scheduler does a pretty good job without intervention. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: