Kaydet (Commit) f8bbaa96 authored tarafından Nick Coghlan's avatar Nick Coghlan

Eliminate RLock race condition reported in SF bug #1764059

üst 4950442f
......@@ -85,9 +85,10 @@ class _RLock(_Verbose):
self.__count = 0
def __repr__(self):
owner = self.__owner
return "<%s(%s, %d)>" % (
self.__class__.__name__,
self.__owner and self.__owner.getName(),
owner and owner.getName(),
self.__count)
def acquire(self, blocking=1):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment