Define AVS_COMMONS_COMPAT_THREADING_PTHREAD_HAVE_PTHREAD_CONDATTR_SETCLOCK
Defined in File avs_commons_config.h
Define Documentation
-
AVS_COMMONS_COMPAT_THREADING_PTHREAD_HAVE_PTHREAD_CONDATTR_SETCLOCK
Is the
pthread_condattr_setclock()function available?This flag only makes sense when
AVS_COMMONS_COMPAT_THREADING_WITH_PTHREADis enabled.If this flag is disabled, or if
CLOCK_MONOTONICmacro is not available, theavs_condvar_wait()will internally use the real-time clock instead of the monotonic clock. Time values will be converted so that this change does not affect API usage.