summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorThomas Hurst <tom@hur.st>2023-04-25 20:59:50 +0000
committerThomas Hurst <tom@hur.st>2023-04-25 20:59:50 +0000
commite5e640cacef51e401286f93388002f41e8ef3328 (patch)
tree8b3fc326b3d39a457db244dabb01a1325ecabf71 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent20d90b14ffe8c667757a70c08e2d9736ee89f493 (diff)
downloadrust-e5e640cacef51e401286f93388002f41e8ef3328.tar.gz
Add FreeBSD cpuset support to std::thread::available_concurrency
Use libc::cpuset_getaffinity to determine the CPUs available to the current process. The existing sysconf and sysctl paths are left as fallback.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions