[Python-checkins] python/dist/src/Lib threading.py,1.24,1.25
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Wed, 14 Aug 2002 10:44:02 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv26719
Modified Files:
threading.py
Log Message:
Explain a minor mystery.
Index: threading.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/threading.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** threading.py 30 Jun 2002 03:39:14 -0000 1.24
--- threading.py 14 Aug 2002 17:43:59 -0000 1.25
***************
*** 173,176 ****
--- 173,177 ----
def _is_owned(self):
+ # This method is called only if __lock doesn't have _is_owned().
if self.__lock.acquire(0):
self.__lock.release()