Define AVS_COMMONS_COMPAT_THREADING_PTHREAD_HAVE_PTHREAD_CONDATTR_SETCLOCK

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_PTHREAD is enabled.

If this flag is disabled, or if CLOCK_MONOTONIC macro is not available, the avs_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.