Maximum number of threads

Sebastiaan Koppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 24 04:45:44 PDT 2015


On Thursday, 24 September 2015 at 08:55:25 UTC, Alex wrote:
> - on my mac I can have 2048 threads spawned at the same time
> - on my linux machine the maximum number is 32192.
> The numbers are quite fixed, however there were some small 
> fluctuations on the linux machine.

I only know of `cat /proc/sys/kernel/threads-max` on linux, which 
will give you the max number of threads system-wide.


More information about the Digitalmars-d-learn mailing list