Function emerald_std::process::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