| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…tate` These should be the last instances of TSAN warning of data races when accessing `tstate->state` non-atomically. TSAN reports a race between accessing `tstate->state` in `_PyThreadState_Suspend()` and the compare/exhange in `park_detached_threads`. This is a false positive due to TSAN modeling failed compare/exchange operations as writes. TSAN reports a race between accessing `tstate->state` in `_PySemaphore_Wait()` and the compare/exchange in `park_detached_threads`. This is the same issue that we saw in pythongh-117830.
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
These should be the last instances of TSAN warning of data races when accessing tstate->state non-atomically.
TSAN reports a race (example) between accessing tstate->state in _PyThreadState_Suspend():
cpython/Python/pystate.c
Line 2099 in fc21c7f
and the compare/exchange in park_detached_threads():
cpython/Python/pystate.c
Lines 2172 to 2173 in fc21c7f
This is a false positive due to TSAN modeling failed compare/exchange operations as writes.
TSAN also reports a race (example) between accessing tstate->state in _PySemaphore_Wait():
cpython/Python/parking_lot.c
Line 197 in fc21c7f
and the compare/exchange in park_detached_threads() above. This is the same issue that we saw in gh-117830.