Skip to content

Commit f7ad96c

Browse files
csm10495picnixz
andauthored
Update Lib/concurrent/futures/process.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 7ae1685 commit f7ad96c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/concurrent/futures/process.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,9 @@ def terminate_workers(self, signal=signal.SIGTERM):
862862
Iterates through all of the current processes and sends the given signal if
863863
the process is still alive.
864864
865-
After terminating workers, the pool will be in a broken state and no longer usable.
865+
After terminating workers, the pool will be in a broken state
866+
and no longer usable (for instance, new tasks should not be
867+
submitted).
866868
867869
Args:
868870
signal: The signal to send to each worker process. Defaults to

0 commit comments

Comments
 (0)