[vlc-devel] [PATCH v3 02/19] android/thread: Remove monotonic clock checks

Dennis Hamester dhamester at jusst.de
Mon Mar 20 17:57:19 CET 2017


From: Dennis Hamester <dennis.hamester at startmail.com>

These checks are unnecessary since 6f3e18d534, because the calls to
pthread_condattr_setclock and pthread_cond_timedwait_monotonic_np have
been removed.
---
 src/android/thread.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/android/thread.c b/src/android/thread.c
index af74a64292..fcffd7a827 100644
--- a/src/android/thread.c
+++ b/src/android/thread.c
@@ -42,10 +42,6 @@
 #include <pthread.h>
 #include <sched.h>
 
-#if !defined(HAVE_PTHREAD_CONDATTR_SETCLOCK) && !defined(HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC_NP)
-#error no pthread monotonic clock support
-#endif
-
 /* debug */
 
 #ifndef NDEBUG
-- 
2.12.0



More information about the vlc-devel mailing list