Producer-consumer threading problem

Rhamphoryncus rhamph at gmail.com
Wed Jun 11 01:59:42 EDT 2008


Why not use a normal Queue, put a dummy value (such as None) in when
you're producer has finished, and have the main thread use the normal
Thread.join() method on all your child threads?



More information about the Python-list mailing list