[Mono-devel-list] Mono on a multipocessor

Jonathan Pryor jonpryor at vt.edu
Thu Apr 21 06:36:59 EDT 2005

On Wed, 2005-04-20 at 16:56 +0200, BRUNET Pierre-Marie - stagiaire
> Hi, I'm french student working on Mono for a University project. I 
> wonder if Mono launchs a thread for each processor if  a multithread C# 
> program running over Mono.

No.  Mono will launch a thread for each System.Threading.Thread you
create, which may be less than the number of physical processors.

Mono also has a ThreadPool, for which threads are created on-demand.
The ThreadPool supports a maximum of 50 threads/CPU on Linux, 25/CPU on

In short, if you want to fully use your multiprocessor system, you need
to code support for it, either by manually creating threads or by using
the ThreadPool.

 - Jon

More information about the Mono-devel-list mailing list