On Samstag, 30. September 2017 16:31:22 CEST Bruno Haible wrote:
> Tim Rühsen wrote:
> > The line
> >
> > return glthread_cond_timedwait(&cond->cond, &mutex->mutex, &(struct
> >
> > timespec){ .tv_sec = ms / 1000, .tv_nsec = (ms % 1000) * 100 });
> >
> > errors with
> >
> > thread.c:155
Tim Rühsen wrote:
> The line
>
> return glthread_cond_timedwait(&cond->cond, &mutex->mutex, &(struct
> timespec){ .tv_sec = ms / 1000, .tv_nsec = (ms % 1000) * 100 });
>
> errors with
>
> thread.c:155:136: error: macro "glthread_cond_timedwait" passed 4 arguments,
> but takes just 3
Hi,
just seeking for clarification...
The line
return glthread_cond_timedwait(&cond->cond, &mutex->mutex, &(struct
timespec){ .tv_sec = ms / 1000, .tv_nsec = (ms % 1000) * 100 });
errors with
thread.c:155:136: error: macro "glthread_cond_timedwait" passed 4 arguments,
but takes j