pygsti.tools.sharedmemtools.cleanup_shared_ndarray#
- cleanup_shared_ndarray(shm)#
De-allocates a (potentially) shared numpy array, created by
create_shared_ndarray().- Parameters:
shm (multiprocessing.shared_memory.SharedMemory or None) – The shared memory object to deallocate. If None, no deallocation is is performed.
- Return type:
None