Thread in detached state?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 19 12:39:37 PST 2015


On 11/19/2015 08:40 AM, Ish wrote:

 > For 380 threads (Linux limit) it works, for 381 threads it
 > dies. The program termination is exactly same as in 381 threads
 > created using spawn().

I've read some more about this. It looks like there are no separate 
counts or limits for detached versus joinable threads. Luckily, that 
limit can be changed:

 
https://dustycodes.wordpress.com/2012/02/09/increasing-number-of-threads-per-process/

Ali



More information about the Digitalmars-d-learn mailing list