SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 101 Python

gh-117657: Quiet TSAN warning about a data race between `start_the_world()` and `tstate_try_attach()` (#117828)

TSAN erroneously reports a data race between the `_Py_atomic_compare_exchange_int`
on `tstate->state` in `tstate_try_attach()` and the non-atomic load of
`tstate->state` in `start_the_world`. The `_Py_atomic_compare_exchange_int` fails,
but TSAN erroneously treats it as a store.
M
mpage committed
6e0b327690c7dd2e4e9091f81f8ad43ad5eb1631
Parent: 4783206
Committed by GitHub <noreply@github.com> on 4/15/2024, 4:17:33 PM