Skip to content

[3.13] gh-117657: Fix TSAN races in setobject.c (GH-121511) - #121541

Merged
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-9c08f40-3.13
Jul 9, 2024
Merged

colesbury merged 1 commit into
python:3.13from
miss-islington:backport-9c08f40-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 9, 2024 •

Copy link
Copy Markdown
Contributor

The used field must be written using atomic stores because set_len
and iterators may access the field concurrently without holding the
per-object lock.
(cherry picked from commit 9c08f40)

Co-authored-by: Sam Gross colesbury@gmail.com

The `used` field must be written using atomic stores because `set_len`
and iterators may access the field concurrently without holding the
per-object lock.
(cherry picked from commit 9c08f40)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants