Skip to main content

Module affinity

Module affinity 

Source

Enums§

CpuAffinityError
Typed failures from the operating-system CPU-affinity boundary.

Functions§

available_parallelism
Return a best-effort CPU count available to the current process.
process_cpu_affinity
Return the process affinity mask as logical CPU identifiers when supported.
process_cpu_affinity_count
Return the current process affinity mask size when the platform exposes a standard affinity API.