diff options
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: |