Fork: Difference between revisions

390 bytes added ,  5 years ago
Line 726:
...
</pre>
 
=={{header|Julia}}==
<lang julia>println("Parent running.")
@async(begin sleep(1); println("This is the child process."); sleep(2); println("Child again.") end)
sleep(2)
println("This is the parent process again.")
sleep(2)
println("Parent again.")
</lang>{{output}}<pre>
Parent running.
This is the child process.
This is the parent process again.
Child again.
Parent again.
</pre>
 
 
=={{header|Kotlin}}==
4,105

edits