pub fn make_thread_realtime(
tid: u64,
priority: Option<u32>,
) -> Result<u32, Error>Expand description
Elevates the realtime priority of a 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.