cpython/Lib/concurrent/futures
Victor Stinner a8cae4071c
gh-107219: Fix concurrent.futures terminate_broken() (#108974)
Fix a race condition in _ExecutorManagerThread.terminate_broken():
ignore the InvalidStateError on future.set_exception(). It can happen
if the future is cancelled before the caller.

Moreover, test_crash_big_data() now waits explicitly until the
executor completes.
2023-09-06 15:57:01 +02:00
..
__init__.py
_base.py
process.py gh-107219: Fix concurrent.futures terminate_broken() (#108974) 2023-09-06 15:57:01 +02:00
thread.py gh-102024: Reduced _idle_semaphore.release calls (#102025) 2023-05-25 22:48:40 -07:00