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)
Thu, Apr 9, 1:16 AM
Unknown Object (File)
Fri, Mar 27, 10:00 AM
Unknown Object (File)
Sat, Mar 21, 11:24 AM
Unknown Object (File)
Sat, Mar 21, 1:50 AM
Unknown Object (File)
Mar 2 2026, 4:12 PM
Unknown Object (File)
Feb 28 2026, 10:50 PM
Unknown Object (File)
Feb 28 2026, 2:58 PM
Unknown Object (File)
Feb 1 2026, 1:32 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