diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-07-09 16:36:36 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-09 16:36:36 (GMT) |
| commit | f0d16f7e82ee19433f0336c0c06053c4f63dec05 (patch) | |
| tree | d0ab193c2aa4509d49df0ca60027ba6416420a91 /Lib/asyncio/windows_utils.py | |
| parent | 8d473d8e57ee99381e4467c3660f282eb220efdb (diff) | |
| download | cpython-f0d16f7e82ee19433f0336c0c06053c4f63dec05.zip cpython-f0d16f7e82ee19433f0336c0c06053c4f63dec05.tar.gz cpython-f0d16f7e82ee19433f0336c0c06053c4f63dec05.tar.bz2 | |
[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>
Diffstat (limited to 'Lib/asyncio/windows_utils.py')
0 files changed, 0 insertions, 0 deletions
