class_docstr: Pool using MPI processes as workers.
docstr: Stop the worker processes without completing pending tasks.
docstr_tok: ["Stop","the","worker","processes","without","completing","pending","tasks","."]
code: def terminate(self):
      """Stop the worker processes without completing pending tasks."""
      self.executor.shutdown(wait=False, cancel_futures=True)
  
imports: from os import cpu_count
  import functools
  import operator
  import threading
  import warnings
  import weakref
  from ..None import futures
label_desc: Use image node_id 13 for calling the Pool obj's underlying member method code with example usage: obj.terminate() without return types