Skip to content

Commit 0fe743b

Browse files
ogbigglespicnixz
andauthored
Update Misc/NEWS.d/next/Library/2025-04-30-19-32-18.gh-issue-132969.EagQ3G.rst
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent f5f3dc2 commit 0fe743b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
Prevent the ProcessPoolExecutor executor thread, which remains running when shutdown is called with wait=False, from attempting to adjust the pool's worker processes after the object state has already been reset during shutdown. A combination of conditions, including a worker process having terminated abormally, resulted in an exception and a potential hang when the still-running executor thread attempted to replace dead workers within the pool.
1+
Prevent the :class:`~concurrent.futures.ProcessPoolExecutor` executor thread,
2+
which remains running when :meth:`shutdown(wait=False)
3+
<concurrent.future.ProcessPoolExecutor.shutdown>`, from
4+
attempting to adjust the pool's worker processes after the object state has already been reset during shutdown.
5+
A combination of conditions, including a worker process having terminated abormally,
6+
resulted in an exception and a potential hang when the still-running executor thread
7+
attempted to replace dead workers within the pool.

0 commit comments

Comments
 (0)