* lib/pthread-cond.c (pthread_cond_wait): Use tv.nsec instead of
tv.usec.
+2021-04-05 Fabrice Fontaine <fontaine.fabrice@gmail.com>
+
+ pthread-cond: Fix compilation error.
+ * lib/pthread-cond.c (pthread_cond_wait): Use tv.nsec instead of
+ tv.usec.
+
2021-04-04 Fabrice Fontaine <fontaine.fabrice@gmail.com>
pthread-cond: Fix wrong configure results when <pthread.h> is absent.
struct timespec duration;
duration.tv_sec = 86400;
- duration.tv_usec = 0;
+ duration.tv_nsec = 0;
nanosleep (&duration, NULL);
}
}