sample.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Script started on Thu 10 Jun 2004 07:23:38 PM PDT
  2. bayazid ~/threadframe-0.2>python test.py
  3. ident of main thread is: 1
  4. launching daemon thread... done
  5. launching self-deadlocking thread... done
  6. launching thread that will die before the end... done
  7. [4] Spam spam spam spam. Lovely spam! Wonderful spam!
  8. [4] Spam spam spam spam. Lovely spam! Wonderful spam!
  9. [4] Spam spam spam spam. Lovely spam! Wonderful spam!
  10. [4] Spam spam spam spam. Lovely spam! Wonderful spam!
  11. ------------------------------------------------------------------------
  12. [1] 4
  13. File "test.py", line 56, in ?
  14. traceback.print_stack(frame)
  15. ------------------------------------------------------------------------
  16. [4] 4
  17. File "/usr/local/lib/python2.3/threading.py", line 436, in __bootstrap
  18. self.run()
  19. File "test.py", line 6, in run
  20. time.sleep(1)
  21. ------------------------------------------------------------------------
  22. [5] 4
  23. File "/usr/local/lib/python2.3/threading.py", line 436, in __bootstrap
  24. self.run()
  25. File "test.py", line 13, in run
  26. U_lock.acquire()
  27. ------------------------------------------------------------------------
  28. [6] 3
  29. File "/usr/local/lib/python2.3/threading.py", line 455, in __bootstrap
  30. pass
  31. File "test.py", line 20, in run
  32. V_event.wait()
  33. File "/usr/local/lib/python2.3/threading.py", line 352, in wait
  34. self.__cond.release()
  35. File "/usr/local/lib/python2.3/threading.py", line 235, in wait
  36. self._acquire_restore(saved_state)