compiling for mutliply cpu

I have been asked the question if I can compile my vb.net programs to use more than 1 cpu.
I have looked at the choices that I have when compiling a program and I don't see anything about the number of cpu.

I don't want to write a multithreaded program just want a program that can see more than 1 cpu and use it.
Bryon HuffmanAsked:
Who is Participating?
 
AndyAinscowConnect With a Mentor Freelance programmer / ConsultantCommented:
>>I don't want to write a multithreaded program

Then you are stuck.  One thread runs on one cpu.  (Else how does it know where it is in the code?)
0
 
unknown_routineConnect With a Mentor Commented:
No, You can not automatically compile your VB.Net program to you more than 1 CPU.

There is no such an option in the Visual Studio or any other IDE.

This is why more than 95% of applications you see on the market are not multithreaded.
0
 
Bryon HuffmanAuthor Commented:
Thanks much I was afraid that was the answer but Thaught I should ask the experts.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.