SHM_Wrapper

SHM_Wrapper#

class snake.core.parallel.SHM_Wrapper(func)[source]#

Bases: object

Wrapper for function to be call with parallel shared memory.

Parameters:

func (Callable) – Function to be called with shared memory arrays.

Methods

__init__

__call__(input_props, output_props, *args, **kwargs)[source]#

Run in parallel with shared memory.

Parameters:
Return type:

None