https://issues.dlang.org/show_bug.cgi?id=4890
andrea.9...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |industry Status|RESOLVED |REOPENED CC| |andrea.9...@gmail.com Resolution|FIXED |--- Severity|normal |regression --- Comment #10 from andrea.9...@gmail.com --- This bug is present in DMD 2.066 on Arch Linux 3.14.17-1-lts x86_64 (GNU libc 2.19). The code posted originally still deadlocks (and even with j.sleep uncommented, it never prints a "." which means GC.collect never returns): import core.thread, core.memory, std.stdio; class Job : Thread { this() { super(&run); } private void run() { while (true) write("*"); } } void main() { Job j = new Job; j.start(); //j.sleep(dur!"msecs"(1)); GC.collect(); while(true) write("."); } --