Page MenuHomeFreeBSD

ctfmerge: Fix missing pthread_cond_init()
ClosedPublic

Authored by arichardson on Aug 6 2020, 11:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 20, 4:33 AM
Unknown Object (File)
Aug 30 2025, 10:00 AM
Unknown Object (File)
Aug 9 2025, 4:24 PM
Unknown Object (File)
Aug 4 2025, 8:18 AM
Unknown Object (File)
Jul 20 2025, 2:36 PM
Unknown Object (File)
Jun 27 2025, 10:05 PM
Unknown Object (File)
Jun 26 2025, 11:38 PM
Unknown Object (File)
Jun 23 2025, 9:31 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable