multi Version: 14.1.0 System threaded functions (See changes.md)
Found an issue? Please submit it and ill look into it!
My multitasking library for lua. It is a pure lua binding, if you ignore the integrations and the love2d compat. If you find any bugs or have any issues, please let me know.
INSTALLING
Links to dependicies: bin net lanes
To install copy the multi folder into your environment and you are good to go
If you want to use the system threads, then you'll need to install lanes!
or use luarocks
Because of a codependency in net libaray, if using the networkmanager you will need to install the net library sepertly Going forward I will include a Release zip for love2d. I do not know why I haven't done this yet The Network Manager rework is currently being worked on and the old version is not included in this version. It will be released in 15.0.0
luarocks install multi
luarocks install lnet
Discord
Have a question that you need asking? Or need realtime assistance? Feel free to join the discord!
https://discord.gg/U8UspuA
Planned features/TODO
- Finish Documentation
- Network Parallelism rework
Usage:
local multi, thread = require("multi").init()
mutli:newThread("Example",function()
while true do
thread.sleep(1)
print("Hello!")
end
end)
multi:mainloop()
Known Bugs/Issues
Check the Issue tab for issues