Files
rust/library/std/src/thread
Jacob Pratt b016514e18 Rollup merge of #159305 - valentynkit:docs/available-parallelism-windows, r=workingjubilee
std: clarify available_parallelism docs for Windows 11 processor groups

On Windows, `available_parallelism`'s docs say the "more than 64 logical CPUs" undercount is harmless because a program needs special support to use more than 64 anyway. That stopped being true in Windows 11 and Windows Server 2022: processes now [span all processor groups by default](https://learn.microsoft.com/en-us/windows/win32/procthread/processor-groups#behavior-starting-with-windows-11-and-windows-server-2022), so a program can use more than 64 without any special handling, while `GetSystemInfo` still counts only one group.

Updates the note to describe the before and after. Docs only.

Addresses rust-lang/rust#152389

r? @ChrisDenton
2026-07-14 23:23:17 -04:00
..
…