Why doesn't threading.join() return a value?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri Sep 2 22:49:17 CEST 2011


Seebs wrote:

> On 2011-09-02, Steven D'Aprano <steve+comp.lang.python at pearwood.info>
> wrote:
[...]
>> Because then the code launching the thread would have to block, waiting
>> until the thread is completed, so it will have a result to return.
> 
> Isn't "waiting until the thread is completed" sort of the point of join()?

Doh!

I mean, well done, you have passed my little test!

<wink>



-- 
Steven




More information about the Python-list mailing list