pynbody.array.shared.shared_array_remote

pynbody.array.shared.shared_array_remote#

pynbody.array.shared.shared_array_remote(fn)[source]#

A decorator for functions that are expected to run on a ‘remote’ process, accepting shared memory inputs.

The decorator reconstructs any shared memory arrays that have been ‘deconstructed’ into a reference by remote_map