multi
multi copied to clipboard
My multitasking library for lua
A new extension for threads. Was planned previously, but ran into issues that prevented this from being added. However, I think this feature can be implemented.
Plan is to structure network parallelism like threads, so they should contain methods like: ```lua NGLOBAL, NTHREAD = require("integration.networkManager"):init(connectionDetails) NTHREAD:newFunction(func, holdme) NT = multi:newNetworkThread(name, func, ...) NT = NTHREAD:newNetworkThread(name,func,...) multi:newNetworkQueue(name)...
Proxies are very stable and portable between threads.
connections that are multiplied don't continuously work. After a few times the stop triggering properly. Perhaps due to a mix match between triggers. I'll have to do more tests.
Debugging gets extremely hard, especially when using nested features of the library. Traceback ends up being nothing but question marks all linking the the base runner functions. This will be...