diff options
author | Thomas Hurst <tom@hur.st> | 2023-04-25 20:59:50 +0000 |
---|---|---|
committer | Thomas Hurst <tom@hur.st> | 2023-04-25 20:59:50 +0000 |
commit | e5e640cacef51e401286f93388002f41e8ef3328 (patch) | |
tree | 8b3fc326b3d39a457db244dabb01a1325ecabf71 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 20d90b14ffe8c667757a70c08e2d9736ee89f493 (diff) | |
download | rust-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