PyDocs

Nav

Concurrent Execution

ProcessPoolExecutor.kill_workers

concurrent.futures

method of ProcessPoolExecutor · Added in 3.14 (source) not WASI
  • ProcessPoolExecutor.kill_workers()
Attempts to kill the executor's workers.
Iterates through all of the current worker processes and kills
each one that is still alive.

After killing workers, the pool will be in a broken state
and no longer usable (for instance, new tasks should not be
submitted).
0 Examples
No examples for concurrent.futures/ProcessPoolExecutor.kill_workers.
See Also
No see-alsos for concurrent.futures/ProcessPoolExecutor.kill_workers
0 Notes
No notes for ProcessPoolExecutor.kill_workers