diff options
Diffstat (limited to 'contrib/tools/python3/Python/thread_pthread.h')
| -rw-r--r-- | contrib/tools/python3/Python/thread_pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/tools/python3/Python/thread_pthread.h b/contrib/tools/python3/Python/thread_pthread.h index e5535a945e4..d843d8d7fe0 100644 --- a/contrib/tools/python3/Python/thread_pthread.h +++ b/contrib/tools/python3/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: |
