diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2020-11-25 16:42:42 -0500 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2020-11-26 12:00:59 -0500 |
commit | 3d7f19ff182b249521061cff7a908efbc68d9f54 (patch) | |
tree | 5a0a23b7b2b10e88e3b1dbcdc398d96c5d28fb91 /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | d7ca140c0122a55a4042fb263ea3baaa501c361d (diff) | |
download | llvm-3d7f19ff182b249521061cff7a908efbc68d9f54.zip llvm-3d7f19ff182b249521061cff7a908efbc68d9f54.tar.gz llvm-3d7f19ff182b249521061cff7a908efbc68d9f54.tar.bz2 |
[libc++] Remove sysctl-based implementation of thread::hardware_concurrency()
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.
Differential Revision: https://reviews.llvm.org/D92135
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions