pynbody.array.shared#
Support for numpy arrays in shared memory.
Functions
Ensures that all shared memory has been cleaned up. |
|
Returns the number of shared arrays currently owned by this process. |
|
|
Create an array of dimensions dims with the given numpy dtype. |
|
Equivalent to pool.map, but turns any shared memory arrays into a reference that can be passed between processes. |
A decorator for functions that are expected to run on a 'remote' process, accepting shared memory inputs. |
Classes
|
|
Exceptions
|
|
|