]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-117657: Fix data races reported by TSAN on `interp->threads.main` (GH-11886...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 May 2024 14:40:06 +0000 (16:40 +0200)
committerGitHub <noreply@github.com>
Fri, 10 May 2024 14:40:06 +0000 (14:40 +0000)
commit4480dd86d917dffbf020e68446579bfa48c8eb25
tree2492a8686ac0ee5a61d831afae4f0807cd609568
parentbb5bf2422618506dca45912bd174d02b40b4113c
[3.13] gh-117657: Fix data races reported by TSAN on `interp->threads.main` (GH-118865) (#118904)

Use relaxed loads/stores when reading/writing to this field.
(cherry picked from commit 22d5185308f85efa22ec1e8251c409fe1cbd9e6b)

Co-authored-by: mpage <mpage@meta.com>
Misc/NEWS.d/next/Core and Builtins/2024-05-09-19-47-12.gh-issue-117657.Vn0Yey.rst [new file with mode: 0644]
Python/pystate.c
Tools/tsan/suppressions_free_threading.txt