Skip to main content

CORE_IDS_FROM_OS

Constant CORE_IDS_FROM_OS 

Source
pub const CORE_IDS_FROM_OS: bool = true;
Expand description

Whether cores_available lists the operating system’s CPU IDs.

Builds without the cpu_affinity feature, and OpenBSD, list nominal IDs 0..n instead, which hardware topology such as a storage queue’s CPU list cannot be matched against.