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)
Mon, Mar 2, 4:12 PM
Unknown Object (File)
Sat, Feb 28, 10:50 PM
Unknown Object (File)
Sat, Feb 28, 2:58 PM
Unknown Object (File)
Feb 1 2026, 1:32 PM
Unknown Object (File)
Jan 30 2026, 1:26 AM
Unknown Object (File)
Jan 29 2026, 1:29 PM
Unknown Object (File)
Jan 28 2026, 3:22 PM
Unknown Object (File)
Jan 27 2026, 4:27 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