summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authormpage <mpage@meta.com>2024-05-08 20:03:39 (GMT)
committerGitHub <noreply@github.com>2024-05-08 20:03:39 (GMT)
commitcb6f75a32ca2649c6cc1cabb0301eb783efbd55b (patch)
treec579943eb25f2bdd8ca51363bc8b7de433f08b7a /Python/import.c
parent8d84120b4175daaf4ae6038621f3005cdb65acda (diff)
downloadcpython-cb6f75a32ca2649c6cc1cabb0301eb783efbd55b.zip
cpython-cb6f75a32ca2649c6cc1cabb0301eb783efbd55b.tar.gz
cpython-cb6f75a32ca2649c6cc1cabb0301eb783efbd55b.tar.bz2
gh-117657: Fix data races when writing / reading `ob_gc_bits` (#118292)
Use relaxed atomics when reading / writing to the field. There are still a few places in the GC where we do not use atomics. Those should be safe as the world is stopped.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions