How to start a thread on a specific core?

Rosmarine Popcorn picture Rosmarine Popcorn · Jul 5, 2011 · Viewed 11.8k times · Source

I have a quad core CPU, and lets say I always want to start a Thread on the second core.

Is that possible in C#?

Answer

Chris Van Opstal picture Chris Van Opstal · Jul 5, 2011

Yes, take a look at the ProcessorAffinity property for the thread.