def run_pool(args):
    calculator, arg = args
return calculator.calculate(arg)


class Organiser:

    def __init__(self):
        self.calculator = Calculator()
self.__pool = multiprocessing.Pool(processes=4)

def process(self, tasks):
    pass
Pool with permanent objects for each worker without “global” keyword