Function priority

Source
pub unsafe fn priority(
    pid: u64,
    priority_level: Option<PriorityLevel>,
) -> Result<PriorityLevel, SyscallError>
Expand description

§Safety

This is generally safe, it will return error if the pid is not valid, but its marked as unsafe because it’s a syscall