summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-11-21 16:00:50 (GMT)
committerGitHub <noreply@github.com>2024-11-21 16:00:50 (GMT)
commit3926842117feffe5d2c9727e1899bea5ae2adb28 (patch)
treee35c20914dac0a189b0a61736ee3a87ad18a5d09 /Include/internal
parentdc7a2b6522ec7af41282bc34f405bee9b306d611 (diff)
downloadcpython-3926842117feffe5d2c9727e1899bea5ae2adb28.zip
cpython-3926842117feffe5d2c9727e1899bea5ae2adb28.tar.gz
cpython-3926842117feffe5d2c9727e1899bea5ae2adb28.tar.bz2
gh-127020: Make `PyCode_GetCode` thread-safe for free threading (#127043)
Some fields in PyCodeObject are lazily initialized. Use atomics and critical sections to make their initializations and accesses thread-safe.
Diffstat (limited to 'Include/internal')
0 files changed, 0 insertions, 0 deletions