opaque isc_time_t

This commit is contained in:
Bob Halley
1998-10-23 23:01:12 +00:00
parent db1e643c60
commit 49bcef9c9c

View File

@@ -11,8 +11,7 @@ isc_condition_waituntil(isc_condition_t *c, isc_mutex_t *m, isc_time_t t)
int presult;
struct timespec ts;
ts.tv_sec = t->seconds;
ts.tv_nsec = t->nanoseconds;
isc_time_totimespec(t, &ts);
presult = pthread_cond_timedwait(c, m, &ts);
if (presult == 0)
return (ISC_R_SUCCESS);