https://issues.dlang.org/show_bug.cgi?id=19487
--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
try this:
---
void main()
{
for (int i=0; i<1000; i++)
{
spawn(&thread);
}
thread_joinAll();
writefln("Collect");
GC.collect();
Thread.sleep(10.seconds);
}
---
--