[issue21009] Potential deadlock in concurrent futures when garbage collection occurs during Queue.get

Mark Dickinson report at bugs.python.org
Sat Apr 12 15:27:14 CEST 2014


Mark Dickinson added the comment:

Adding Brian Quinlan to the nosy list.

I don't see an easy way around this other than documenting it and recommending that people do explicit executor shutdown where necessary.

Weakref callbacks are dangerous things.  Weakref callbacks that acquire a lock at any point doubly so.

----------
nosy: +bquinlan

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21009>
_______________________________________


More information about the Python-bugs-list mailing list