Files
rust/library/std
Josh Triplett 7c9611d124 Make std::thread::available_concurrency support process-limited number of CPUs
Use libc::sched_getaffinity and count the number of CPUs in the returned
mask. This handles cases where the process doesn't have access to all
CPUs, such as when limited via taskset or similar.
2021-10-31 01:38:14 +02:00
..
2020-07-27 19:51:13 -05:00
2021-09-28 11:31:47 +09:00