Page MenuHomeFreeBSD

libcuse: silence -Wthread-safety-analysis warnings
Needs ReviewPublic

Authored by arichardson on Sep 14 2025, 11:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 5:26 AM
Unknown Object (File)
Mon, Oct 13, 5:26 AM
Unknown Object (File)
Sun, Oct 12, 5:29 PM
Unknown Object (File)
Sun, Oct 12, 4:31 PM
Unknown Object (File)
Sun, Oct 12, 5:08 AM
Unknown Object (File)
Fri, Oct 3, 3:54 PM
Unknown Object (File)
Thu, Oct 2, 8:34 PM
Unknown Object (File)
Thu, Oct 2, 2:50 AM
Subscribers
None

Details

Reviewers
imp
Summary

The init function does not need to aquire a lock for TAILQ_INIT, so just
add __no_lock_analysis. We could also acquire the lock to silence the
analysis but that is unnecessary.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 67025
Build 63908: arc lint + arc unit

Event Timeline

arichardson created this revision.