global threading.Lock not locking correctly?
abelikov72 at hotmail.com
Tue Feb 4 22:42:36 CET 2003
On Tue, 04 Feb 2003 18:17:45 GMT, Alex Martelli <aleax at aleax.it> wrote:
>>>You're not CALLING the acquire and release methods, just
>>>MENTIONING them. use lock.acquire() and lock.release().
>> Hahaha, damnit! That's from too much Delphi...
>> I wish I could toggle such things to be 'warnings'.
>> Or does PyChecker also check for this?
>Sure, it gives a "Statement appears to have no effect" warning.
>So why aren't you using it yet? If you were, you wouldn't
>have to ask...;-).
Because like many things, figuring out how to make it work in Windows
takes a bit more work, if it is even possible at all. So I put that off
while working on other things. I will surely try again later.
More information about the Python-list