Well, say process 3 creates a new object and process 5 wants to access it. Without a shared naming protocol, this isn't possible. Process 3 has to read the name for its newly created object and somehow signal it to process 5 in order for process 5 to ever know about it and access it.
We should be able to name the objects created with the SharedMemoryManager, with the name= parameter, same as the syntax for creating those objects without the manager.
Thanks,
Sam
The text was updated successfully, but these errors were encountered:
Python's new truly-shared memory (https://docs.python.org/3/library/multiprocessing.shared_memory.html) is great, however using the
SharedMemoryManager
is impractical since the created list or numpy array can't be custom-named.Why would we want to custom-name?
Well, say process 3 creates a new object and process 5 wants to access it. Without a shared naming protocol, this isn't possible. Process 3 has to read the name for its newly created object and somehow signal it to process 5 in order for process 5 to ever know about it and access it.
We should be able to name the objects created with the
SharedMemoryManager
, with thename=
parameter, same as the syntax for creating those objects without the manager.Thanks,
Sam
The text was updated successfully, but these errors were encountered: