diff options
author | Sam Gross <colesbury@gmail.com> | 2024-11-21 16:00:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 16:00:50 (GMT) |
commit | 3926842117feffe5d2c9727e1899bea5ae2adb28 (patch) | |
tree | e35c20914dac0a189b0a61736ee3a87ad18a5d09 /Include/internal | |
parent | dc7a2b6522ec7af41282bc34f405bee9b306d611 (diff) | |
download | cpython-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