docs: def pool(n=None, dummy=False):
      """
      create a multiprocessing pool that responds to interrupts.
      """
  
      if dummy:
          from multiprocessing.dummy import Pool
      else:
          from multiprocessing import Pool
      if n is None:
          import multiprocessing
          n = multiprocessing.cpu_count() - 1
  
      return Pool(n)