Guys,

Since I have moved to C# I am quickly writing bigger and better apps than I ever could using VB. One of things I am experimenting with now is having multiple threads and processes.

I know Exchange and SQL are all multi-proc aware. If your server is running slow, you can through another processor at it and it will take advantage of it without doing anything.

My question is, and I apologize if this is in the wrong forum, I didn't feel the general computing was the right place, how do you write the code to take advantage of a system with multiple. When you spawn a new process, does Windows handle where the process gets run? Is there a way to direct it to a certain process.

The main reason I ask, I am writing an app to run on one of our servers that has 4 processors. I dont want to peg one of them out.

Thanks,

Jerel