JonLS

I am building a real time data processing application consisting of two main processes, and I'm having trouble getting things to run fast enough. I believe that if the processes always ran on seperate processors of the dual core processor, the system will run fast enough. How can I guarantee that the processes will always load and execute in seperate processor cores




Re: Windows Forms General dual core processors

sluggy

This is the wrong forum for this question, but i'll answer it anyway.

Are you talking threads or processes Processes and threads can be assigned to a specific core or cpu by adjusting the processor affinity, check out the ProcessorAffinity property here: http://msdn2.microsoft.com/en-us/library/system.diagnostics.processthread.processoraffinity.aspx

And check out the ProcessThread class here: http://msdn2.microsoft.com/en-us/library/system.diagnostics.processthread.aspx