Updated readme
This commit is contained in:
parent
8484065479
commit
ab8f227f71
31
changes.md
31
changes.md
@ -1,5 +1,36 @@
|
||||
# Changes
|
||||
[TOC]
|
||||
Update 14.1.0 Bug Fixes and a change
|
||||
-------------
|
||||
# Added:
|
||||
- multi:scheduleJob(time,func)
|
||||
-- time.min -- Minute a value of (0-59)
|
||||
-- time.hour -- Hour a value of (0-23)
|
||||
-- time.day -- Day of month a value of (1-31)
|
||||
-- time.wday -- Weekday a value of (0-6)
|
||||
-- time.month -- Month a value of (1-12)
|
||||
**Usage**
|
||||
```lua
|
||||
local multi,thread = require("multi"):init()
|
||||
multi:scheduleJob({min = 15, hour = 14},function()
|
||||
-- This function will be called once everyday at 2:15
|
||||
-- Using a combination of the values above you are able to schedule a time
|
||||
end)
|
||||
multi:mainloop()
|
||||
```
|
||||
# Removed:
|
||||
- multi:newTimeStamper() -- schedulejob replaces timestamper
|
||||
# Fixed:
|
||||
- Modified the thread.* methods to perform better
|
||||
-- thread.sleep()
|
||||
-- thread.hold()
|
||||
-- thread.holdFor()
|
||||
-- thread.holdWithin()
|
||||
-- thread.skip()
|
||||
-- thread.kill()
|
||||
-- thread.yield()
|
||||
|
||||
|
||||
Update 14.0.0 Consistency, Additions and Stability
|
||||
-------------
|
||||
Added:
|
||||
|
||||
35
rockspecs/multi-14.1-0.rockspec
Normal file
35
rockspecs/multi-14.1-0.rockspec
Normal file
@ -0,0 +1,35 @@
|
||||
package = "multi"
|
||||
version = "14.1-0"
|
||||
source = {
|
||||
url = "git://github.com/rayaman/multi.git",
|
||||
tag = "v14.1.0",
|
||||
}
|
||||
description = {
|
||||
summary = "Lua Multi tasking library",
|
||||
detailed = [[
|
||||
This library contains many methods for multi tasking. From simple side by side code using multi-objs, to using coroutine based Threads and System threads(When you have lua lanes installed or are using love2d)
|
||||
]],
|
||||
homepage = "https://github.com/rayaman/multi",
|
||||
license = "MIT"
|
||||
}
|
||||
dependencies = {
|
||||
"lua >= 5.1",
|
||||
"bin",
|
||||
"lanes",
|
||||
}
|
||||
build = {
|
||||
type = "builtin",
|
||||
modules = {
|
||||
["multi"] = "multi/init.lua",
|
||||
["multi.compat.love2d"] = "multi/compat/love2d.lua",
|
||||
["multi.integration.lanesManager"] = "multi/integration/lanesManager/init.lua",
|
||||
["multi.integration.lanesManager.extensions"] = "multi/integration/lanesManager/extensions.lua",
|
||||
["multi.integration.lanesManager.threads"] = "multi/integration/lanesManager/threads.lua",
|
||||
["multi.integration.loveManager"] = "multi/integration/loveManager/init.lua",
|
||||
["multi.integration.loveManager.extensions"] = "multi/integration/loveManager/extensions.lua",
|
||||
["multi.integration.loveManager.threads"] = "multi/integration/loveManager/threads.lua",
|
||||
["multi.integration.luvitManager"] = "multi/integration/luvitManager.lua",
|
||||
--["multi.integration.networkManager"] = "multi/integration/networkManager.lua",
|
||||
["multi.integration.shared"] = "multi/integration/shared.lua"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user