pub fn set_process_thread_nice_level(
pid: u64,
tid: u64,
nice_level: Option<NiceLevel>,
) -> Result<NiceLevel, Error>Expand description
Elevates the nice level of a specified processes thread as close as possible to the requested nice level.
If no nice level is specified, the maximum nice level allowed by the system will be used. Returns the actual nice level that was set.