1. 01 Apr, 2011 2 commits
    • Victor Stinner's avatar
      Issue #11393: New try to fix faulthandler_thread() · a4d4f1b4
      Victor Stinner authored
      Always release the cancel join.
      
      Fix also another corner case: _PyFaulthandler_Fini() called after setting
      running variable to zero, but before releasing the join lock.
      a4d4f1b4
    • Victor Stinner's avatar
      Issue #11393: Fix faulthandler_thread(): release cancel lock before join lock · 1c76b7f5
      Victor Stinner authored
      If the thread releases the join lock before the cancel lock, the thread may
      sometimes still be alive at cancel_dump_tracebacks_later() exit. So the cancel
      lock may be destroyed while the thread is still alive, whereas the thread will
      try to release the cancel lock, which just crash.
      
      Another minor fix: the thread doesn't release the cancel lock if it didn't
      acquire it.
      1c76b7f5
  2. 31 Mar, 2011 22 commits
  3. 30 Mar, 2011 11 commits
  4. 29 Mar, 2011 5 commits