SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-117657: Fix TSAN races in setobject.c (#121511)

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.
S
Sam Gross committed
9c08f40a613d9aee78de4ce4ec3e125d1496d148
Parent: 649d5b6
Committed by GitHub <noreply@github.com> on 7/9/2024, 4:11:43 PM