Message272542
The example looks correct to me. Have you tested it and seen it hang?
The q.join() is done, and returns once all the puts have been processed. *Then* None is put for each worker, which terminates the worker thread. There's no q.join() to block at that point. |
|
Date |
User |
Action |
Args |
2016-08-12 14:42:52 | r.david.murray | set | recipients:
+ r.david.murray, docs@python, Paulo Gabriel Poiati |
2016-08-12 14:42:52 | r.david.murray | set | messageid: <1471012972.29.0.797435435443.issue27747@psf.upfronthosting.co.za> |
2016-08-12 14:42:52 | r.david.murray | link | issue27747 messages |
2016-08-12 14:42:52 | r.david.murray | create | |
|