summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-10 14:40:06 (GMT)
committerGitHub <noreply@github.com>2024-05-10 14:40:06 (GMT)
commit4480dd86d917dffbf020e68446579bfa48c8eb25 (patch)
tree2492a8686ac0ee5a61d831afae4f0807cd609568 /Tools
parentbb5bf2422618506dca45912bd174d02b40b4113c (diff)
downloadcpython-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 'Tools')
-rw-r--r--Tools/tsan/suppressions_free_threading.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/tsan/suppressions_free_threading.txt b/Tools/tsan/suppressions_free_threading.txt
index 7f91a91..d5f4cd7 100644
--- a/Tools/tsan/suppressions_free_threading.txt
+++ b/Tools/tsan/suppressions_free_threading.txt
@@ -33,8 +33,6 @@ race_top:_mi_heap_delayed_free_partial
race_top:_PyEval_EvalFrameDefault
race_top:_PyImport_AcquireLock
race_top:_PyImport_ReleaseLock
-race_top:_PyInterpreterState_SetNotRunningMain
-race_top:_PyInterpreterState_IsRunningMain
# https://gist.github.com/mpage/0a24eb2dd458441ededb498e9b0e5de8
race_top:_PyParkingLot_Park
race_top:_PyType_HasFeature