mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
6b37486184
When using threaded applications, there is a high risk of a deadlock in the interpreter. It's a lock ordering deadlock with HEAD_LOCK(&_PyRuntime); and the GIL. By disabling the GC during the _PyThread_CurrentFrames() and _PyThread_CurrentExceptions() calls fixes the issue.
Miscellaneous source files for the main Python shared library