]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Fix TSAN race in QSBR assertion (#119887)
authorSam Gross <colesbury@gmail.com>
Sat, 1 Jun 2024 14:04:38 +0000 (10:04 -0400)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2024 14:04:38 +0000 (10:04 -0400)
commit90ec19fd33e2452902b9788d4821f1fbf6542304
tree1d5d42f7a15526604b7021aa177337df06c9e8fd
parent60593b2052ca275559c11028d50e19f8e5dfee13
gh-117657: Fix TSAN race in QSBR assertion (#119887)

Due to a limitation in TSAN, all reads from `PyThreadState.state` must be
atomic to avoid reported races.
Python/qsbr.c
Tools/tsan/suppressions_free_threading.txt