Skip to main content

cpu_on

Function cpu_on 

Source
pub fn cpu_on(cpu_idx: usize) -> usize
Expand description

Power on logical CPU index.

Return values:

  • 0: success
  • 1: not supported
  • 2: already on
  • 3: invalid parameters
  • 4: other error