diff options
author | Diego Russo <diego.russo@arm.com> | 2025-03-11 15:31:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-11 15:31:03 (GMT) |
commit | 6b37486184590d19c6f24e620545ec8f8f65e4c7 (patch) | |
tree | 5d684ea756ca1a56f1048e41765d157c1515e30d /Lib/test/test_pydoc/pydoc_mod.py | |
parent | f1897d312e16bdf820ee47de053fdc24f621d0b1 (diff) | |
download | cpython-6b37486184590d19c6f24e620545ec8f8f65e4c7.zip cpython-6b37486184590d19c6f24e620545ec8f8f65e4c7.tar.gz cpython-6b37486184590d19c6f24e620545ec8f8f65e4c7.tar.bz2 |
[3.11] gh-106883 Fix deadlock in threaded application (#117332)
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.
Diffstat (limited to 'Lib/test/test_pydoc/pydoc_mod.py')
0 files changed, 0 insertions, 0 deletions