Using sysctl requires including headers that are considered internal on
Linux, like <sys/sysctl.h> & friends. Instead, sysconf is defined by POSIX
(and we have a fallback for Windows), so all the systems we support should
be happy with just sysconf.
Details
Details
- Reviewers
MaskRay ldionne - Group Reviewers
Restricted Project - Commits
- rG3d7f19ff182b: [libc++] Remove sysctl-based implementation of thread::hardware_concurrency()
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo