bpo-36356: Destroy the GIL at exit by vstinner · Pull Request #12453 · python/cpython
vstinner
changed the title
bpo-36356: Destroy the GIL at exit
[WIP] bpo-36356: Destroy the GIL at exit
* 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().
vstinner
changed the title
[WIP] bpo-36356: Destroy the GIL at exit
bpo-36356: Destroy the GIL at exit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters