Commit cdf86bf
authored
Rollup merge of rust-lang#122992 - devnexen:available_parallelism_sol_upd, r=Amanieu
std::thread: refine available_parallelism for solaris/illumos.
Rather than the system-wide available cpus fallback solution, we fetch the cpus bound to the current process.1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
360 | 358 | | |
361 | 359 | | |
362 | 360 | | |
| |||
483 | 481 | | |
484 | 482 | | |
485 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
486 | 490 | | |
487 | 491 | | |
488 | 492 | | |
| |||
0 commit comments