cleaning up some code

This commit is contained in:
Ryan Ward 2020-01-26 10:06:23 -05:00
parent 91090e6dea
commit 48038429d0
3 changed files with 3 additions and 15 deletions

3
.gitignore vendored
View File

@ -11,5 +11,4 @@ Atlas Shrugged by Ayn Rand Audiobook-9s2qrEau63E.webm
test.lua
test.lua
*.code-workspace
*.dat
multi\integration\networkManager
*.dat

View File

@ -90,7 +90,7 @@ multi:mainloop()
Fixed:
- Connections had a preformance issue where they would create a non function when using connection.getConnection() of a non existing label.
- An internal mismanagement of the treads scheduler was fixed. Now it should be quicker and free of bugs
- An internal mismanagement of the threads scheduler was fixed. Now it should be quicker and free of bugs
- Thread error management is the integrations was not properly implemented. This is now fixed
Removed:
@ -132,6 +132,7 @@ local nGLOBAL, nTHREAD = require("multi.intergration.networkManager).inti()
Note: You can mix and match integrations together. You can create systemthreads within network threads, and you can also create cotoutine based threads within bothe network and system threads. This gives you quite a bit of flexibility to create something awesome.
Going forward:
- Finish the rework of the networkManager - It "works", but there are packet losses that I cannot explain. I do not know what is causing this at all. Ill fix when I figure it out!
- If all goes well, the future will contain quality of code features. I'll keep an eye out for bugs
Update 13.1.0 Bug fixes and features added

View File

@ -2515,14 +2515,6 @@ function multi:ToString()
table.merge(data,{
set=self.set,
})
elseif t=="watcher" then
multi.print("Currently cannot sterilize a watcher object!")
-- needs testing
-- table.merge(data,{
-- ns=self.ns,
-- n=self.n,
-- cv=self.cv,
-- })
elseif t=="timemaster" then
-- Weird stuff is going on here!
-- Need to do some testing
@ -2599,10 +2591,6 @@ function multi:newFromString(str)
local item=self:newAlarm()
table.merge(item,data)
return item
elseif t=="watcher" then -- NEEDS TESTING
local item=self:newWatcher()
table.merge(item,data)
return item
elseif t=="updater" then -- GOOD
local item=self:newUpdater()
table.merge(item,data)