HomeFreeBSD

ctfmerge: Fix missing pthread_cond_init()

Description

ctfmerge: Fix missing pthread_cond_init()

This does not appear to matter on FreeBSD or Linux, but when building an
amd64 kernel on macOS I was seeing infinite loops in ctfmerge.
It turns out the loop in wip_save_work() was looping forever due to
pthread_cond_wait() always returning -EINVAL.

Reviewed By: markj, brooks
Differential Revision: https://reviews.freebsd.org/D25973

Details

Provenance
arichardsonAuthored on Aug 6 2020, 8:44 PM
Parents
rGdd7660e5bdfb: Fix clang 11 -Wformat warnings in yp_mkdb:
Branches
Unknown
Tags
Unknown

Event Timeline