[issue30886] multiprocessing.Queue.join_thread() does nothing if created and use in the same process

Antoine Pitrou report at bugs.python.org
Mon Jul 10 05:39:14 EDT 2017


Antoine Pitrou added the comment:

> I would like to really make sure that a Queue object doesn't "leak" a thread when I close .close() + .join_thread().

I don't understand how this happens.  The Finalize object only acts as an atexit handler.  When called as a regular finalize, `self._thread` is dead and therefore `_finalize_join()` doesn't do anything.

----------

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


More information about the Python-bugs-list mailing list