[docs] [issue24296] Queue documentation note needed

Raymond Hettinger report at bugs.python.org
Wed May 27 17:02:02 CEST 2015


Raymond Hettinger added the comment:

It is normal for daemon threads to not be shut down.   That is why they exist.  The purpose of Queue.join() is to give other threads a way to know when daemons have finished doing their work (i.e. a print manager thread to indicate that it is done printing).  If the worker threads were actually going to terminate, you wouldn't need Queue.join(), you would use a Thread.join().

----------

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


More information about the docs mailing list