[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks
Yury Selivanov
report at bugs.python.org
Fri Aug 18 11:37:59 EDT 2017
Yury Selivanov added the comment:
> Here is a pure Python PoC patch that allows unbounded Queue and LifoQueue to have reentrant put().
Is it guaranteed that the GC will happen in the same thread that is holding the lock? IOW will RLock help with all GC/__del__ deadlocking scenarios?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14976>
_______________________________________
More information about the Python-bugs-list
mailing list