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

[3.13] gh-117657: Fix TSAN races in setobject.c (GH-121511)#121541
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-9c08f40-3.13

Conversation

@miss-islington

@miss-islingtonmiss-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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@colesbury