2022-01-01 23:20:48 -05:00
2022-01-01 23:20:48 -05:00
2021-07-02 16:57:58 -04:00
2021-05-27 16:47:45 -04:00
2021-05-01 15:52:32 -04:00
2022-01-01 23:20:48 -05:00
2022-01-01 23:20:48 -05:00
2021-12-19 01:05:34 -05:00
2022-01-01 23:20:48 -05:00
2021-11-30 21:23:45 -05:00

Multi Version: 16.0.0 Upgrade Complete

Key Changes

  • All objects now use connections internally
  • Updated getTasksDetails() to handle the new method of managing threads and processors

Found an issue? Please submit it and someone will look into it!

My multitasking library for lua. It is a pure lua binding, with exceptions of the integrations and the love2d compat.

INSTALLING

Links to dependencies: 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 luarocks install multi

Going forward I will include a Release zip for love2d. The Network Manager rework is currently being worked on and the old version is not included in this version.

Discord

Have a question? Or need realtime assistance? Feel free to join the discord!
https://discord.gg/U8UspuA

Planned features/TODO

  • Finish Documentation Finished
  • Create test suite
  • Network Parallelism rework

Usage: Check out the documentation for more info

package.path="?.lua;?/init.lua;?.lua;?/?/init.lua;"..package.path
local multi, thread = require("multi"):init()
GLOBAL, THREAD = require("multi.integration.threading"):init()
multi:newSystemThread("System Thread",function()
    while true do
        THREAD.sleep(1)
        print("World!")
    end
end)
multi:newThread("Coroutine Based Thread",function()
    while true do
        print("Hello")
        thread.sleep(1)
    end
end)
multi:mainloop()
--[[
while true do
    multi:uManager()
end
]]

Known Bugs/Issues

Check the Issues tab for issues

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