[Python-checkins] [python/cpython] f82c95: bpo-30395 _PyGILState_Reinit deadlock fix (#1734)

GitHub noreply at github.com
Mon May 22 19:58:56 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: f82c951d1c5416f3550d544e50ff5662d3836e73
      https://github.com/python/cpython/commit/f82c951d1c5416f3550d544e50ff5662d3836e73
  Author: Jason Fried <me at jasonfried.info>
  Date:   2017-05-22 (Mon, 22 May 2017)

  Changed paths:
    M Misc/ACKS
    M Python/pystate.c

  Log Message:
  -----------
  bpo-30395 _PyGILState_Reinit deadlock fix (#1734)

head_lock could be held by another thread when fork happened. We should
reset it to avoid deadlock.




More information about the Python-checkins mailing list