]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Quiet erroneous TSAN reports of data races in `_PySeqLock` (#117955)
authormpage <mpage@meta.com>
Wed, 17 Apr 2024 17:19:28 +0000 (10:19 -0700)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2024 17:19:28 +0000 (17:19 +0000)
commit0d29302155f49d4d5c7fa34a658ad5a97dd013a2
tree84ab95a6fa91eb9c4c600fd452e9b6495529bb39
parentb6c62c79e7d9592ca1ea6b93f6ce3dd3829939d0
gh-117657: Quiet erroneous TSAN reports of data races in `_PySeqLock` (#117955)

Quiet erroneous TSAN reports of data races in `_PySeqLock`

TSAN reports a couple of data races between the compare/exchange in
`_PySeqLock_LockWrite` and the non-atomic loads in `_PySeqLock_{Abandon,Unlock}Write`.
This is another instance of TSAN incorrectly modeling failed compare/exchange
as a write instead of a load.
Python/lock.c
Tools/tsan/suppressions_free_threading.txt