V16.1.0 #69

Open
rayaman wants to merge 6 commits from v16.1.0 into master
3 changed files with 11 additions and 10 deletions
Showing only changes of commit 7ba48f8c57 - Show all commits

View File

@ -1,19 +1,13 @@
# Multi Version: 16.0.0 - Connecting the dots # Multi Version: 16.1.0 -
**Key Changes** **Key Changes**
- Expanded connection logic -
- New integration priorityManager
- Tests for threads
- Consistent behavior between the threading integrations
- Improved love2d threading
- Bug fixes
Found an issue? Please [submit it](https://github.com/rayaman/multi/issues) and someone will look into it! Found an issue? Please [submit it](https://github.com/rayaman/multi/issues) and someone will look into it!
My multitasking library for lua. It is a pure lua binding, with exceptions of the integrations. My multitasking library for lua. It is a pure lua binding, with exceptions of the integrations.
</br> </br>
Progress is being made in [v16.0.0](https://github.com/rayaman/multi/tree/v16.0.0) Progress is being made in [v16.1.0](https://github.com/rayaman/multi/tree/v16.1.0)
--- ---
</br> </br>

View File

@ -95,7 +95,7 @@ multi.Children = {}
multi.Active = true multi.Active = true
multi.Type = multi.registerType("rootprocess") multi.Type = multi.registerType("rootprocess")
multi.LinkedPath = multi multi.LinkedPath = multi
multi.TIMEOUT = "TIMEOUT" multi.TIMEOUT = multi.registerType("TIMEOUT", "timeouts")
multi.TID = 0 multi.TID = 0
multi.defaultSettings = {} multi.defaultSettings = {}
@ -702,6 +702,12 @@ function multi:newBase(ins)
return c return c
end end
function multi:newTimeout(timeout)
local c={}
c.Type = multi.registerType(multi.TIMEOUT, "timeouts")
return function(self) self:Destroy() return c end % self:newAlarm(timeout).OnRing
end
function multi:newTimer() function multi:newTimer()
local c={} local c={}
c.Type=multi.registerType("timer", "timers") c.Type=multi.registerType("timer", "timers")

View File

@ -0,0 +1 @@
-- Allows the creation of states