Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This is how the output looks: http://imgur.com/KABvNZ2
- -- note that the print syscall is only there for debugging purposes
- function func(name, num)
- for a = 1, num do
- syscall("print", name)
- syscall("yield")
- end
- end
- syscall("process_create", func, "process1", 2)
- syscall("process_create", func, "process2", 3)
- syscall("process_create", func, "process3", 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement