Error creating thread

exec dragon-x at
Fri Jan 13 11:42:51 PST 2012

I'm currently fiddling around with some stuff, and I was curious 
how well thousands of threads run simultaneously.
The problem now is, that I'm often running into the following 
core.thread.ThreadException at src\core\thread.d(817): Error 
creating thread

Here's my test program:

It only seems to happen with >1000 threads, and I'm seriously 
wondering what's the cause of this.

More information about the Digitalmars-d-learn mailing list