diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-10 14:40:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 14:40:06 (GMT) |
commit | 4480dd86d917dffbf020e68446579bfa48c8eb25 (patch) | |
tree | 2492a8686ac0ee5a61d831afae4f0807cd609568 /Misc/NEWS.d | |
parent | bb5bf2422618506dca45912bd174d02b40b4113c (diff) | |
download | cpython-4480dd86d917dffbf020e68446579bfa48c8eb25.zip cpython-4480dd86d917dffbf020e68446579bfa48c8eb25.tar.gz cpython-4480dd86d917dffbf020e68446579bfa48c8eb25.tar.bz2 |
[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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2024-05-09-19-47-12.gh-issue-117657.Vn0Yey.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-05-09-19-47-12.gh-issue-117657.Vn0Yey.rst b/Misc/NEWS.d/next/Core and Builtins/2024-05-09-19-47-12.gh-issue-117657.Vn0Yey.rst new file mode 100644 index 0000000..db4c581 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2024-05-09-19-47-12.gh-issue-117657.Vn0Yey.rst @@ -0,0 +1 @@ +Fix data races on the field that stores a pointer to the interpreter's main thread that occur in free-threaded builds. |