commit | f0d16f7e82ee19433f0336c0c06053c4f63dec05 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Jul 09 18:36:36 2024 +0200 |
committer | GitHub <noreply@github.com> | Tue Jul 09 16:36:36 2024 +0000 |
tree | d0ab193c2aa4509d49df0ca60027ba6416420a91 | |
parent | 8d473d8e57ee99381e4467c3660f282eb220efdb [diff] |
[3.13] gh-117657: Fix TSAN races in setobject.c (GH-121511) (#121541) 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 9c08f40a613d9aee78de4ce4ec3e125d1496d148) Co-authored-by: Sam Gross <colesbury@gmail.com>