]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110481: Fix biased reference counting queue initialization. (#117271)
authorSam Gross <colesbury@gmail.com>
Thu, 28 Mar 2024 13:28:39 +0000 (09:28 -0400)
committerGitHub <noreply@github.com>
Thu, 28 Mar 2024 13:28:39 +0000 (09:28 -0400)
commit8dbfdb2957a7baade3a88661517f163ad694c39f
treef7e3fb2c352d0bb618d9965fec0a795227a3c307
parent9a1e55b8c5723206116f7016921be3937ef2f4e5
gh-110481: Fix biased reference counting queue initialization. (#117271)

The biased reference counting queue must be initialized from the bound
(active) thread because it uses `_Py_ThreadId()` as the key in a hash
table.
Python/brc.c
Python/pystate.c