cpython/Lib/concurrent/futures
Andrei Bodrov 1848ce61f3
gh-88110: Clear concurrent.futures.thread._threads_queues after fork to avoid joining parent process' threads (GH-126098)
Threads are gone after fork, so clear the queues too. Otherwise the
child process (here created via multiprocessing.Process) crashes on
interpreter exit.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-11-22 18:20:34 +02:00
..
__init__.py gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-124548) 2024-10-16 16:50:46 -06:00
_base.py gh-120157: Remove unused code in concurrent.future (gh-120187) 2024-06-07 16:39:19 +09:00
interpreter.py gh-125864: Propagate pickle.loads() failures in InterpreterPoolExecutor (gh-125898) 2024-10-24 10:51:45 -06:00
process.py gh-125451: Fix deadlock in ProcessPoolExecutor shutdown (#125492) 2024-10-16 11:39:17 -04:00
thread.py gh-88110: Clear concurrent.futures.thread._threads_queues after fork to avoid joining parent process' threads (GH-126098) 2024-11-22 18:20:34 +02:00