code: def run_with_multipool(Pool):
      inputs = range(10)
      with Pool() as pool1:
          res1 = pool1.amap(sleep_add1, inputs)
      with Pool() as pool2:
          res2 = pool2.amap(sleep_add2, inputs)
  
      with Pool() as pool3:
          for number, prime in zip(
              PRIMES, pool3.imap(is_prime, PRIMES)
          ):
              assert prime if number != PRIMES[-1] else not prime
          # print ('%d is prime: %s' % (number, prime))
  
      assert res1.get() == [i + 1 for i in inputs]
      assert res2.get() == [i + 2 for i in inputs]
  
label_desc: Use image node_id 4 for calling a global function with example usage: run_with_multipool(Pool) without return types