Hello,
I would like to share this small C module I wrote for executing multiple Lua Scripts in parallel. LuaStepper is a single file C module that allows a Lua program to execute multiple Lua Scripts in parallel maintaining full control over their execution. It allows passing data to and from the executing scripts.
The module is platform independent and will work wherever Lua works. It uses the debug library to execute each script for some number of steps and then switch over to the next script. It works with coroutines inside the scripts.
Questions, comments and suggestions would be appreciated. Thanks.
Regards,
Milind