Click here to Skip to main content
15,742,619 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:

I have read the article Real Multi-threading in .NET 2.0
By Jose Luis Latorre published in CodeProject.The link below is the link of the published article
Real Multi-threading in .NET 2.0
But Now I am in trouble how to implement this with multiple CPU. How the main CPU identify his slave CPU and Main CPU will do his work along with his slave CPU? And where the main code will be put.

Updated 16-Feb-11 22:23pm
JF2015 17-Feb-11 4:23am    
Edited to add link tag.

I already answered this in a comment in your previous post:
BackgroundWorker Class in Multithreading[^]

To make it shorter: there is no "main cpu" or "slave cpu", let the OS decide how to dispatch threads among cpus via the scheduler. Just write your threads functions and synchronizations and it will be fine.
Share this answer
.Net manages CPU use on its own, and you don't have to do anything. Just write your code, and move along.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900