class_docstr: Mapper that leverages parallelpython (i.e. pp) maps.
      
class_docstr_tok: ["Mapper","that","leverages","parallelpython","(","i.e",".","pp",")","maps","."]
docstr: restart a closed pool
docstr_tok: ["restart","a","closed","pool"]
code: def restart(self, force=False):
      "restart a closed pool"
      _pool = __STATE.get(self._id, None)
      if self._equals(_pool):
          if not force:
              self._is_alive(_pool, negate=True)
          # 'clear' and 'serve'
          if self._exiting:  # i.e. is destroyed
              self._clear()
          else:  # only closed, so just 'reopen'
              _pool._exiting = False
              # NOTE: setting pool._exiting = False *may* hang python!
          _pool = self._serve()
      return
  
imports: from pathos.helpers import parallelpython
  from pathos.helpers import cpu_count
  import builtins
  from pathos.abstract_launcher import AbstractWorkerPool
  from pathos.helpers.pp_helper import ApplyResult, MapResult
label_desc: Use image node_id 15 for calling the ParallelPool obj's underlying member method code with example usage: obj.restart(force) without return types