mirror of https://github.com/python/cpython
520cf2170e
Check `my_object_collected.wait()` in a loop to give the main thread a chance to merge the reference count fields. Additionally, call `my_object_collected.set()` in a background thread to avoid deadlocking when the destructor is called asynchronously via the eval breaker within the body of of `my_object_collected.wait()`. |
||
---|---|---|
.. | ||
__init__.py | ||
executor.py | ||
test_as_completed.py | ||
test_deadlock.py | ||
test_future.py | ||
test_init.py | ||
test_process_pool.py | ||
test_shutdown.py | ||
test_thread_pool.py | ||
test_wait.py | ||
util.py |