i'm trying use dispy to implement producer consumer problem
what i'm trying to find is "shared array between processes and it needed to be writable by any proccess"
could someone can show me that?
writable shared array
Moderator: admin
-
- Site Admin
- Posts: 58
- Joined: Sun Dec 27, 2020 5:35 pm
Re: writable shared array
See 'node_shvars.py' . The idea is to use 'setup' function to load, prepare "global" data (that resides in memory) once and then use jobs (computations) to manipulate that data.
There is also shared memory module that you can look into.
There is also shared memory module that you can look into.