Once initialized condition variable can be set various parameters related to the condition. One of them is the clock on which the invoking thread sleeps:
int pthread_condattr_getclock(const pthread_condattr_t *restrict attr, clockid_t *restrict clock_id); int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id);