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, Jan 25, 7:45 PM
Unknown Object (File)
Sat, Jan 18, 5:37 PM
Unknown Object (File)
Wed, Jan 15, 10:31 AM
Unknown Object (File)
Oct 5 2024, 4:38 AM
Unknown Object (File)
Oct 3 2024, 12:34 AM
Unknown Object (File)
Oct 2 2024, 4:58 AM
Unknown Object (File)
Sep 30 2024, 1:26 AM
Unknown Object (File)
Sep 22 2024, 10:07 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