On Apr 4, 1:54 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Apr 4, 11:27 am, Gerardo Herzig <[EMAIL PROTECTED]> wrote:

> > There is an approach in which i can 'sum' after *any* thread finish?
>
> > Could a Queue help me there?
>
> Yes, you can push each result to a queue and have the main thread wait
> in a loop doing a queue.get() every time. After each get() you can do
> whatever with the results so far (partial sum, update a progress bar,
> etc.)
>
> <shameless-plug>
> You can take a look at papyros [1],

I forgot the link: http://pypi.python.org/pypi/papyros/

George
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to