SIGN IN SIGN UP

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>
A
Andrei Bodrov committed
1848ce61f349533ae5892a8c24c2e0e3c364fc8a
Parent: 7725c03
Committed by GitHub <noreply@github.com> on 11/22/2024, 4:20:34 PM