V15.3.0 #46
@ -1,6 +1,7 @@
|
|||||||
# Multi Version: 15.2.0 Upgrade Complete
|
# Multi Version: 15.2.0 Upgrade Complete
|
||||||
**Key Changes**
|
**Key Changes**
|
||||||
- All objects now use connections internally
|
- All objects now use connections internally
|
||||||
|
- Connections now about 23x faster!
|
||||||
- Updated getTasksDetails() to handle the new method of managing threads and processors
|
- Updated getTasksDetails() to handle the new method of managing threads and processors
|
||||||
|
|
||||||
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!
|
||||||
@ -18,15 +19,15 @@ If you want to use the system threads, then you'll need to install lanes!
|
|||||||
|
|
||||||
Discord
|
Discord
|
||||||
-------
|
-------
|
||||||
Have a question? Or need realtime assistance? Feel free to join the discord!</br>
|
Have a question or need realtime assistance? Feel free to join the discord!</br>
|
||||||
https://discord.gg/U8UspuA</br>
|
https://discord.gg/U8UspuA
|
||||||
|
|
||||||
Planned features/TODO
|
Planned features/TODO
|
||||||
---------------------
|
---------------------
|
||||||
- [ ] Create test suite
|
- [ ] Create test suite
|
||||||
- [ ] Network Parallelism rework
|
- [ ] Network Parallelism rework
|
||||||
|
|
||||||
Usage: [Check out the documentation for more info](https://github.com/rayaman/multi/blob/master/Documentation.md)</br>
|
Usage: [Check out the documentation for more info](https://github.com/rayaman/multi/blob/master/Documentation.md)
|
||||||
-----
|
-----
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
|
|||||||
13
test3.lua
13
test3.lua
@ -1,6 +1,6 @@
|
|||||||
package.path = "./?.lua"
|
package.path = "./?.lua"
|
||||||
--require("jitpaths")
|
require("jitpaths")
|
||||||
require("luapaths")
|
--require("luapaths")
|
||||||
local multi,thread = require("multi"):init()
|
local multi,thread = require("multi"):init()
|
||||||
--local GLOBAL,THREAD = require("multi.integration.lanesManager"):init()
|
--local GLOBAL,THREAD = require("multi.integration.lanesManager"):init()
|
||||||
|
|
||||||
@ -24,13 +24,6 @@ local multi,thread = require("multi"):init()
|
|||||||
-- end)
|
-- end)
|
||||||
multi:benchMark(1):OnBench(function(sec,steps)
|
multi:benchMark(1):OnBench(function(sec,steps)
|
||||||
print("Steps:",steps)
|
print("Steps:",steps)
|
||||||
--os.exit()
|
os.exit()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
multi:newThread(function()
|
|
||||||
print(thread.hold(function()
|
|
||||||
return false
|
|
||||||
end,{sleep=1}))
|
|
||||||
end)
|
|
||||||
|
|
||||||
multi:mainloop()
|
multi:mainloop()
|
||||||
Loading…
x
Reference in New Issue
Block a user