Pausing until threads are done

Peter Hansen peter at engcorp.com
Thu Mar 13 10:32:43 EST 2003


Christos TZOTZIOY Georgiou wrote:
> 
> On Thu, 13 Mar 2003 07:50:52 GMT, rumours say that Alex Martelli
> <aleax at aleax.it> might have written:
> 
> >Don't use the thread module in your application code: it's a very low
> >level module, meant basically as an engine for module threading, which
> >is the one you _should_ be using,
> 
> Why _should_ he?  The question mark actually refers to "should", so I am
> asking about the reasoning.

Because then the answer is "use threading.Thread.join() to wait for
a thread to terminate".  No muss, no fuss.

-Peter




More information about the Python-list mailing list