Skip to main content

mask_from_bits

Function mask_from_bits 

Source
pub fn mask_from_bits(_total: usize, bits: &[usize]) -> Cpumask
Expand description

Create a Cpumask from a list of set CPU IDs.