← Back to team overview

nova team mailing list archive

Re: Why not python threads?

 

On Tue, Aug 10, 2010 at 10:36:34AM -0300, Gustavo Niemeyer wrote:
> The right approach is to either:
> 
> a) Use deferToThread(), and simply return the value you want from the
> function.  The deferred will be fired with the result once it's done.

You are quite right. Thanks for the correction. I'm not sure where my
mind was :)

-- 
Soren Hansen
Ubuntu Developer
http://www.ubuntu.com/



References