Message272542
| Author |
r.david.murray |
| Recipients |
Paulo Gabriel Poiati, docs@python, r.david.murray |
| Date |
2016年08月12日.14:42:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1471012972.29.0.797435435443.issue27747@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|