diff options
author | Sam Gross <colesbury@gmail.com> | 2024-05-31 17:04:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 17:04:59 (GMT) |
commit | 078b8c8cf2bf68f7484cc4d2e3dd74b6fab55664 (patch) | |
tree | d77ecd24857b1a6240db0edebcda80a69b24b7a7 /Doc | |
parent | 64ff1e217d963b48140326e8b63c62f4b306f4a0 (diff) | |
download | cpython-078b8c8cf2bf68f7484cc4d2e3dd74b6fab55664.zip cpython-078b8c8cf2bf68f7484cc4d2e3dd74b6fab55664.tar.gz cpython-078b8c8cf2bf68f7484cc4d2e3dd74b6fab55664.tar.bz2 |
gh-119369: Fix deadlock during thread exit in free-threaded build (#119528)
Release the GIL before calling `_Py_qsbr_unregister`.
The deadlock could occur when the GIL was enabled at runtime. The
`_Py_qsbr_unregister` call might block while holding the GIL because the
thread state was not active, but the GIL was still held.
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions