lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I made a module[1] to manage tasks just like that and help wrap them in environments. Using that the base Lua program can time slice between the tasks based on priority or any criteria they choose.

[1] https://github.com/aryajur/LuaStepper

On Wed, Mar 9, 2022, 1:22 PM John W <jwdevel@gmail.com> wrote:
Ah, I just discovered PIL 25.2 (Hooks) and 25.4 (Sandboxing), so
perhaps debug.sethook() will be a good way to do this.

Though still interested in other solutions, if people have them.

-John