diff options
author | Sam Gross <colesbury@gmail.com> | 2024-06-01 14:04:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 14:04:05 (GMT) |
commit | 60593b2052ca275559c11028d50e19f8e5dfee13 (patch) | |
tree | 48fb7cb6ade84098a9d7d91dfdd63ce02ee645c4 /Python/dynload_win.c | |
parent | 5152120ae746516670c77e7feed5c4a8912f2bbb (diff) | |
download | cpython-60593b2052ca275559c11028d50e19f8e5dfee13.zip cpython-60593b2052ca275559c11028d50e19f8e5dfee13.tar.gz cpython-60593b2052ca275559c11028d50e19f8e5dfee13.tar.bz2 |
gh-117657: Fix TSAN race in free-threaded GC (#119883)
Only call `gc_restore_tid()` from stop-the-world contexts.
`worklist_pop()` can be called while other threads are running, so use a
relaxed atomic to modify `ob_tid`.
Diffstat (limited to 'Python/dynload_win.c')
0 files changed, 0 insertions, 0 deletions