diff options
Diffstat (limited to 'Python/parking_lot.c')
-rw-r--r-- | Python/parking_lot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/parking_lot.c b/Python/parking_lot.c index e2def9e..841b1d7 100644 --- a/Python/parking_lot.c +++ b/Python/parking_lot.c @@ -119,7 +119,7 @@ _PySemaphore_PlatformWait(_PySemaphore *sema, PyTime_t timeout) if (timeout >= 0) { struct timespec ts; -#if defined(CLOCK_MONOTONIC) && defined(HAVE_SEM_CLOCKWAIT) +#if defined(CLOCK_MONOTONIC) && defined(HAVE_SEM_CLOCKWAIT) && !defined(_Py_THREAD_SANITIZER) PyTime_t now; // silently ignore error: cannot report error to the caller (void)PyTime_MonotonicRaw(&now); |