Terry Carroll schrieb:
> You can just use a series of Queues, where each Queue represents the work 
> being passed from one thread to the other.

If you want, you can have a look at my threadpool module, which implements
exactly this pattern. It is basically nothing more than an elaborate example on
this technique:

http://chrisarndt.de/en/software/python/threadpool/

Chris
begin:vcard
fn:Christopher Arndt
n:Arndt;Christopher
adr:Fort Lorenzo;;Cuan Na Coille;Galway;Co. Galway;;Irland
email;internet:[EMAIL PROTECTED]
tel;work:+353 (0)91-745500
tel;cell:+353 (0)86-3378101
x-mozilla-html:TRUE
url:http://chrisarndt.de
version:2.1
end:vcard

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to