commit | 403f91ad2cb76585f336faaab4812ff3ac5d27de | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Thu Aug 02 18:17:49 2012 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Thu Aug 02 18:17:49 2012 +0000 |
tree | 47ca82d20d24eed523d25f1aeb7e8b4263bf42c4 | |
parent | 6d39f9f356a1fa625001b94fc2e392f02e8b2327 [diff] |
Andrew Morrow: The attached patch is an attempt to implement std::thread::hardware_concurrency for platforms that don't offer sysctl, but do provide a POSIX sysconf and _SC_NPROCESSORS_ONLN. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161190 91177308-0d34-0410-b5e6-96231b3b80d8