this was supposed to be in that pr merge oops

This commit is contained in:
Mikayla Fischler 2022-04-27 16:06:30 -04:00
parent f996b9414a
commit d40937b467

View File

@ -39,10 +39,15 @@ end
-- PARALLELIZATION -- -- PARALLELIZATION --
-- protected sleep call so we still are in charge of catching termination
function psleep(t)
pcall(os.sleep, t)
end
-- no-op to provide a brief pause (and a yield) -- no-op to provide a brief pause (and a yield)
-- EVENT_CONSUMER: this function consumes events -- EVENT_CONSUMER: this function consumes events
function nop() function nop()
sleep(0.05) psleep(0.05)
end end
-- WATCHDOG -- -- WATCHDOG --