T
Tommy
Just recently, I happened came across one .net multithreading book saying
that multithread programs might get differential in stability when running
on single CPU machine compared to a multi-CPU one.The book also recommands a
way in .NET to run specific thread on specific CPU.
Now I am facing a new project which is going to be deployed to either a
single or a multiple CPU machine. My problem is: can .NET 'automatically'
detect CPU status and distribute threads created by my program to all the
installed CPUs, in other words, without 'manually' set in the program for
the thread to be specific CPU centric, can a multithreaded program fully
utilized the CPU resources provided by the system?
I am quite confused about that, could anyone of you give me some advice,
thanks and appreciated.
that multithread programs might get differential in stability when running
on single CPU machine compared to a multi-CPU one.The book also recommands a
way in .NET to run specific thread on specific CPU.
Now I am facing a new project which is going to be deployed to either a
single or a multiple CPU machine. My problem is: can .NET 'automatically'
detect CPU status and distribute threads created by my program to all the
installed CPUs, in other words, without 'manually' set in the program for
the thread to be specific CPU centric, can a multithreaded program fully
utilized the CPU resources provided by the system?
I am quite confused about that, could anyone of you give me some advice,
thanks and appreciated.