diff options
author | Antoine Pitrou <antoine@python.org> | 2024-03-18 09:52:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 09:52:54 (GMT) |
commit | 25243b1461e524560639ebe54bab9b689b6cc31e (patch) | |
tree | 0582874fb0884573bd32609e5ebb4ec367ca85e5 /Python | |
parent | fcb230180faff828aa67ca2ee1aa94fc522e6daa (diff) | |
download | cpython-25243b1461e524560639ebe54bab9b689b6cc31e.zip cpython-25243b1461e524560639ebe54bab9b689b6cc31e.tar.gz cpython-25243b1461e524560639ebe54bab9b689b6cc31e.tar.bz2 |
[3.12] gh-112536: Add TSAN build on Github Actions (GH-116872)
(cherry picked from commit 20578a1f68c841a264b72b00591b11ab2fa77b43)
Co-authored-by: Donghee Na <donghee.na@python.org>
Diffstat (limited to 'Python')
-rw-r--r-- | Python/thread_pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index f96c57d..896230d 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -91,6 +91,10 @@ #endif #endif +/* Thread sanitizer doesn't currently support sem_clockwait */ +#ifdef _Py_THREAD_SANITIZER +#undef HAVE_SEM_CLOCKWAIT +#endif /* Whether or not to use semaphores directly rather than emulating them with * mutexes and condition variables: |