https://issues.dlang.org/show_bug.cgi?id=4923
--- Comment #6 from Jonathan M Davis <issues.dl...@jmdavisprog.com> --- An updated example, since Thread.sleep now requires that its argument be a core.time.Duration: import core.thread, std.random, std.stdio; immutable int x; static this() { x = unpredictableSeed; } void main() { for(;;) { (new Thread({ })).start; Thread.sleep(seconds(1)); writeln(x); } } --