Added a workaround for the missing pthread_cancel on Android.
This commit is contained in:
@@ -306,6 +306,8 @@ dnl check if we actually are able to configure attributes on cond vars
|
||||
AC_CHECK_FUNCS(pthread_condattr_init)
|
||||
dnl instead of pthread_condattr_setclock Android has this function
|
||||
AC_CHECK_FUNCS(pthread_cond_timedwait_monotonic)
|
||||
dnl check if we can cancel threads
|
||||
AC_CHECK_FUNCS(pthread_cancel)
|
||||
dnl check if native rwlocks are available
|
||||
AC_CHECK_FUNCS(pthread_rwlock_init)
|
||||
LIBS=$saved_LIBS
|
||||
|
||||
Reference in New Issue
Block a user