On Tue, Jun 09, 2009, Pete wrote:
>
> The particular problem (tail | grep) came out of Beaz's class and was  
> incredibly helpful for comparing generators vs. coroutines.  We *should* 
> find a problem that is actually concurrent - how about tail|grep'ing 
> multiple input files?

What about a spider?  Feel free to rip this off and rewrite as multiple
processes (preferably with credit but I don't really care):

http://pythoncraft.com/OSCON2001/ThreadPoolSpider.py
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra
_______________________________________________
concurrency-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/concurrency-sig

Reply via email to