Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-112536: Define
_Py_THREAD_SANITIZER
on GCC when TSan is en…
…abled (pythonGH-117702) The `__has_feature(thread_sanitizer)` is a Clang-ism. Although new versions of GCC implement `__has_feature`, the `defined(__has_feature)` check still fails on GCC so we don't use that code path. (cherry picked from commit 79eec66) Co-authored-by: Sam Gross <colesbury@gmail.com>
- Loading branch information