rustix::backend::process::syscalls

Function sched_setaffinity

source
pub(crate) fn sched_setaffinity(
    pid: Option<Pid>,
    cpuset: &RawCpuSet,
) -> Result<()>