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