RosettaCodeData/Task/Fork/D/fork.d
2023-07-01 13:44:08 -04:00

9 lines
151 B
D

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