Skip to content

Commit

Permalink
Update Lib/concurrent/futures/process.py
Browse files Browse the repository at this point in the history
Co-authored-by: Bénédikt Tran <[email protected]>
  • Loading branch information
csm10495 and picnixz authored Dec 17, 2024
1 parent 7ae1685 commit f7ad96c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lib/concurrent/futures/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,9 @@ def terminate_workers(self, signal=signal.SIGTERM):
Iterates through all of the current processes and sends the given signal if
the process is still alive.
After terminating workers, the pool will be in a broken state and no longer usable.
After terminating workers, the pool will be in a broken state
and no longer usable (for instance, new tasks should not be
submitted).
Args:
signal: The signal to send to each worker process. Defaults to
Expand Down

0 comments on commit f7ad96c

Please sign in to comment.