[master] e1da1915e Attempt to use `pthread_condattr_setclock(&ca, CLOCK_MONOTONIC)`

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Oct 11 21:54:20 UTC 2021


--------
Dridi Boukelmoune writes:

> > +       AZ(pthread_condattr_init(&ca));
> > +       AZ(pthread_condattr_setclock(&ca, CLOCK_MONOTONIC));
> >         AZ(pthread_cond_init(&timebend_cv, NULL));
>
> Did you forget to pass ca to pthread_cond_init() ?

I guess I did...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the varnish-commit mailing list