3 ms·
According to the docs, those shared memory objects have significant limitations: they are immutable and only support numpy arrays (or must be deserialized). Sh
by ptx 3y ago
According to the docs, those shared memory objects have significant limitations: they are immutable and only support numpy arrays (or must be deserialized).
Sharing arrays of numbers is supported in multiprocessing as well: https://docs.python.org/3/library/multiprocessing.html#sharing-state-between-processes https://docs.python.org/3/library/multiprocessing.html#shari...