RosettaCodeData/Task/Fork/D/fork.d
2018-06-22 20:57:24 +00:00

9 lines
151 B
D

import core.thread;
import std.stdio;
void main() {
new Thread({
writeln("Spawned thread.");
}).start;
writeln("Main thread.");
}