Beginner question on threads - solved

Teresa Hardy thardy99 at gmail.com
Sun May 6 22:36:36 EDT 2007


>If there is the possibility that the same thread had acquired the lock
>earlier, you should use an RLock instead.

Gabriel,
Thanks for the great hint. I didn't find RLock in my initial reading.
So as I read up on RLock, I did a quick search on vlock.

It turns out that I was using vlock as a variable and it is also a
lock that wasn't in my initial reading. So I changed the variable name
and the threads started working properly.
Thanks!
Teresa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070506/1b0aa4bb/attachment.html>


More information about the Python-list mailing list