mirror of
https://github.com/python/cpython.git
synced 2026-05-07 05:01:13 -04:00
0becae366c
`_Py_qsbr_unregister` is called when the PyThreadState is already
detached, so the access to `tstate->qsbr` isn't safe without locking the
shared mutex. Grab the `struct _qsbr_shared` from the interpreter
instead.
(cherry picked from commit 33d20199af)
Co-authored-by: Alex Turner <alexturner@meta.com>
Miscellaneous source files for the main Python shared library