Beginner question on threads

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Apr 30 02:16:30 EDT 2007


En Sun, 29 Apr 2007 22:50:59 -0300, Teresa Hardy <thardy99 at gmail.com>  
escribió:

> I have successfully made the threading work on a Window XP machine with  
> quad
> processors but now I am trying to pass some variables around and am  
> fighting
> with Lock()

If there is the possibility that the same thread had acquired the lock  
earlier, you should use an RLock instead.
Without more context, I can't tell anymore.

-- 
Gabriel Genellina




More information about the Python-list mailing list