diff options
author | Donghee Na <donghee.na@python.org> | 2024-03-16 10:10:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 10:10:37 (GMT) |
commit | 20578a1f68c841a264b72b00591b11ab2fa77b43 (patch) | |
tree | 71ec7f5fd087611fa232e36323b40874fa92d926 /Python | |
parent | a1c4923d65a3e4cea917745e7f6bc2e377cde5c5 (diff) | |
download | cpython-20578a1f68c841a264b72b00591b11ab2fa77b43.zip cpython-20578a1f68c841a264b72b00591b11ab2fa77b43.tar.gz cpython-20578a1f68c841a264b72b00591b11ab2fa77b43.tar.bz2 |
gh-112536: Add TSAN builds on Github Actions (#116872)
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 64cc600..65d366e 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -95,6 +95,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: |