Page MenuHomeFreeBSD

pthread: Include pthread_np to comply with other platform.
AbandonedPublic

Authored by aokblast on Mar 10 2026, 1:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 10:59 AM
Unknown Object (File)
Sat, Apr 11, 11:55 PM
Unknown Object (File)
Thu, Apr 9, 7:48 AM
Unknown Object (File)
Sun, Apr 5, 11:37 AM
Unknown Object (File)
Wed, Apr 1, 6:17 AM
Unknown Object (File)
Sat, Mar 28, 12:01 AM
Unknown Object (File)
Wed, Mar 25, 7:07 AM
Unknown Object (File)
Mar 21 2026, 1:10 AM
Subscribers

Details

Reviewers
imp
jhb
Summary

On NetBSD and Linux glibc, you only need to include pthread.h to use
pthread_{set,get}affinity_np. To sync with other implementation, we make
pthread_np.h be included in pthread.h to prevent some build system
failed on check features.

Diff Detail

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