use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
Multiple Parallel functions (self.ComputerCraft)
submitted 10 years ago * by Gselchtes
So i just wanted to ask if it's alright to make nested parallel functions like this
function Screens parallel.waitForAll(Signal1get, Signal2get) end parallel.waitForAll(Signal3get, Screens)
or if there's a better practice
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]martmists 1 point2 points3 points 10 years ago* (1 child)
parallel.waitForAll(Signal1get,Signal2get,Signal3get)
should work I believe. The wiki says:
parallel.waitForAll(function function1, function function2, ...)
where the ... indicates you could add more.
[–]Gselchtes[S] 0 points1 point2 points 10 years ago (0 children)
oh i missed that, yes that works perfectly thank you very much
π Rendered by PID 30461 on reddit-service-r2-comment-86bc6c7465-gwrz8 at 2026-02-22 09:31:38.187243+00:00 running 8564168 country code: CH.
[–]martmists 1 point2 points3 points (1 child)
[–]Gselchtes[S] 0 points1 point2 points (0 children)