[issue12155] queue example doesn't stop worker threads

Raymond Hettinger report at bugs.python.org
Tue May 24 03:17:50 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> It doesn't define do_work(), num_worker_threads or do_work()

Is it unclear to you what those mean?  They are placeholders for the user's actual task at hand.

> my concern is that it doesn't stop worker threads.

Stopping the threads wasn't the intent of the example.

> I consider "t.daemon = True" as an hack to not care 
> about stopping threads.

If you post a high-quality self-contained example somewhere on the net, I would be happy to link to it.

----------
priority: normal -> low

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


More information about the Python-bugs-list mailing list