• Victor Stinner's avatar
    bpo-36356: Destroy the GIL at exit (GH-12453) · b36e5d62
    Victor Stinner authored
    * Add _PyEval_FiniThreads2(). _PyEval_FiniThreads() now only clears
      the pending lock, whereas _PyEval_FiniThreads2() destroys the GIL.
    * pymain_free() now calls _PyEval_FiniThreads2().
    * Py_FinalizeEx() now calls _PyEval_FiniThreads().
    b36e5d62
pylifecycle.c 64.9 KB