]> granicus.if.org Git - python/commit
In _DummyThread objects the lock stored in __block (allocated thanks to
authorBrett Cannon <bcannon@gmail.com>
Sat, 8 Jan 2005 02:43:53 +0000 (02:43 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 8 Jan 2005 02:43:53 +0000 (02:43 +0000)
commite6539c4401cd3f60a5cc176717852886cb9d152a
tree6bc7274b8d6297d3bfe8cd78ca12977a737133a3
parent922b3e2098d9903d915aa7ce19d8e3c8973643d0
In _DummyThread objects the lock stored in __block (allocated thanks to
_Thread.__init__) was never used.  This is a waste since locks use OS
primitives that are in limited supply.  So the lock is deleted in
_DummyThread.__init__ .

Closes bug #1089632.
Lib/threading.py
Misc/NEWS