mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
![]() 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 |