Fabrice Fontaine wrote:
> Use tv.nsec instead of tv.usec to avoid the following build failure:
>
> lib/pthread-cond.c: In function 'pthread_cond_wait':
> lib/pthread-cond.c:121:16: error: 'struct timespec' has no member named
> 'tv_usec'; did you mean 'tv_sec'?
> 121 | duration.tv_usec =
Use tv.nsec instead of tv.usec to avoid the following build failure:
lib/pthread-cond.c: In function 'pthread_cond_wait':
lib/pthread-cond.c:121:16: error: 'struct timespec' has no member named
'tv_usec'; did you mean 'tv_sec'?
121 | duration.tv_usec = 0;
|^~~