mirror of
https://github.com/python/cpython
synced 2026-09-29 10:15:30 +03:00
[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 22d5185308)
Co-authored-by: mpage <mpage@meta.com>
This commit is contained in:
parent
bb5bf24226
commit
4480dd86d9
3 changed files with 21 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue