]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Fix data race in `_Py_IsImmortal` (#118261)
authormpage <mpage@meta.com>
Thu, 25 Apr 2024 15:31:57 +0000 (08:31 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2024 15:31:57 +0000 (11:31 -0400)
commitf14e9f91544b526a920724dd2b3e2d88d1e28463
tree0dfbab22c9ec14f40a644e1da7ab7c67fae9b14a
parentfb7f79b4da35b75cdc82ff3cf20816d2bf93d416
gh-117657: Fix data race in `_Py_IsImmortal` (#118261)

The load of `ob_ref_local races with stores. Using a relaxed load is
sufficient; stores to the field are relaxed.
Include/object.h
Tools/tsan/suppressions_free_threading.txt