2020-02-19 18:04:18 -05:00
2020-01-28 23:09:47 -05:00
2019-03-22 21:31:16 -04:00
2020-02-19 18:04:18 -05:00
2018-07-25 12:13:06 -04:00
2018-09-10 22:21:57 -04:00
2020-02-14 11:30:15 -05:00
2020-02-19 14:24:02 -05:00
2019-03-22 21:31:16 -04:00
2019-03-22 21:31:16 -04:00
2020-02-14 11:20:29 -05:00
2018-09-10 22:21:57 -04:00
2018-09-10 22:21:57 -04:00
2019-08-04 23:00:50 -04:00
2018-05-17 01:19:56 -04:00

multi Version: 14.1.0 System threaded functions and more? (See changes.md for detailed changes)

Found an issue? Please submit it and I'll 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 The networkManager is currently being reworked. As of right now the net library is not required. 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   (If planning on using the networkManager)

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:lightloop()
--multi:mainloop()
--[[
while true do
    multi:uManager()
end
]]

Known Bugs/Issues

Check the Issue tab for issues

Description
My multitasking library for lua
Readme MIT 29 MiB
2024-03-24 23:29:43 -04:00
Languages
Lua 100%