Fork: Difference between revisions
Content added Content deleted
Line 726: | Line 726: | ||
... |
... |
||
</pre> |
</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}}== |
=={{header|Kotlin}}== |