Join a thread and get the return value of a function

Lie Ryan lie.1296 at gmail.com
Thu Dec 24 08:35:55 EST 2009


On 12/25/2009 12:23 AM, mattia wrote:
> Hi all, is there a way in python to get back the value of the function
> passed to a thread once the thread is finished? Something like
> pthread_join() in C?
>
> Thanks, Mattia

use a Queue to pass the value out?



More information about the Python-list mailing list