Producer-consumer threading problem

Rhamphoryncus rhamph at
Wed Jun 11 07:59:42 CEST 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