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, May 13, 6:56 PM
Unknown Object (File)
Mon, Apr 27, 1:15 AM
Unknown Object (File)
Apr 15 2026, 10:59 AM
Unknown Object (File)
Apr 11 2026, 11:55 PM
Unknown Object (File)
Apr 9 2026, 7:48 AM
Unknown Object (File)
Apr 5 2026, 11:37 AM
Unknown Object (File)
Apr 1 2026, 6:17 AM
Unknown Object (File)
Mar 28 2026, 12:01 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