First hang: python2.6 ./hang.py & [1] 10538 robertc@lifeless-64:/tmp$ 10538 ..k.il.l ...-.SIG.U.SR.2.. 1..0.5.3.8.. robertc@lifeless-64:/tmp$ Traceback (most recent call last): File "./hang.py", line 15, in <module> lock_release() File "./hang.py", line 8, in lock_release l.release() File "/usr/lib/python2.6/threading.py", line 139, in release self.__count = count = self.__count - 1 TypeError: lock_release() takes no arguments (2 given)
[1]+ Exit 1 python2.6 ./hang.py
First hang: lifeless- 64:/tmp$ 10538 lifeless- 64:/tmp$ Traceback (most recent call last): python2. 6/threading. py", line 139, in release
python2.6 ./hang.py &
[1] 10538
robertc@
..k.il.l ...-.SIG.U.SR.2.. 1..0.5.3.8..
robertc@
File "./hang.py", line 15, in <module>
lock_release()
File "./hang.py", line 8, in lock_release
l.release()
File "/usr/lib/
self.__count = count = self.__count - 1
TypeError: lock_release() takes no arguments (2 given)
[1]+ Exit 1 python2.6 ./hang.py