Function lrs::thread::set_cpus

Sets the CPU mask of a thread.

Syntax

fn set_cpus(thread: i32, cpus: &CpuMask) -> Result<(), Errno>

Arguments

NameDescription
thread

The thread whose mask to set or 0 for this thread.

cpus

The CPU mask.

See also