multi icon indicating copy to clipboard operation
multi copied to clipboard

16.0.0 Network parallelism

Open rayaman opened this issue 2 years ago • 2 comments

Plan is to structure network parallelism like threads, so they should contain methods like:

NGLOBAL, NTHREAD = require("integration.networkManager"):init(connectionDetails)
NTHREAD:newFunction(func, holdme)
NT = multi:newNetworkThread(name, func, ...)
NT = NTHREAD:newNetworkThread(name,func,...)
multi:newNetworkQueue(name) -- Like systemthreadedqueue
multi:newNetworkTable(name)
multi:newNetworkJobQueue(n) -- If the host contains the libraries for systemthreading, all hosts along with all their threads will run jobs.

-- The NTHREAD interface should work just like THREAD.

Internally, things will get rather complex. Network parallelism will require the socket library to work. A lot of work will need to be done to get this functional. Should be fun though

rayaman avatar Jun 12 '22 04:06 rayaman

Currently being planned for the next release.

rayaman avatar May 14 '23 05:05 rayaman

Will hold off on this for now.

rayaman avatar Jun 26 '23 01:06 rayaman