Revert: r236909

Pointyhat: me
This commit is contained in:
hselasky 2012-06-11 20:27:52 +00:00
parent cc367c4a7e
commit 6a1a47c355

View File

@ -168,7 +168,7 @@ cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout)
return (false);
}
error = clock_gettime(CLOCK_REALTIME, &ts);
error = clock_gettime(CLOCK_MONOTONIC, &ts);
PJDLOG_ASSERT(error == 0);
ts.tv_sec += timeout;
error = pthread_cond_timedwait(cv, lock, &ts);