Fork: Difference between revisions

184 bytes added ,  6 years ago
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}}==
1,452

edits