summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-03-16 10:10:37 (GMT)
committerGitHub <noreply@github.com>2024-03-16 10:10:37 (GMT)
commit20578a1f68c841a264b72b00591b11ab2fa77b43 (patch)
tree71ec7f5fd087611fa232e36323b40874fa92d926 /Python
parenta1c4923d65a3e4cea917745e7f6bc2e377cde5c5 (diff)
downloadcpython-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.h4
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: