This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Niels Henriksen's profile picture

[1.6] Multitasking will that mean....

Started by Niels Henriksen, 08 August 2014 - 05:54 AM
Niels Henriksen #1
Posted 08 August 2014 - 07:54 AM
that we can have several programs running in the computer? So I can make a program that listen on the network and another program doing ex. controlling my power setup - all on one computer?
flaghacker #2
Posted 08 August 2014 - 12:02 PM
Yes.

It was already possible with the parallel API or couroutines, but now it's included in the shell.

Note however, you can't run two things at the same time in lua, you can just get the same effect by quickly swapping between different coroutines. Computercraft computers also don't run at the same time, they run quickly after each other.
Edited on 08 August 2014 - 10:04 AM