Fork: Difference between revisions
→{{header|DCL}}
m (→{{header|Kotlin}}: Refreshed output) |
|||
Line 219:
((plusp pid) (write-line "This is the original process."))
(t (error "Something went wrong while forking."))))</lang>
=={{header|D}}==
<lang D>import core.thread;
import std.stdio;
void main() {
new Thread({
writeln("Spawned thread.");
}).start;
writeln("Main thread.");
}</lang>
=={{header|DCL}}==
|