ariel_os::thread

Function get_priority

pub fn get_priority(thread_id: ThreadId) -> Option<RunqueueId>
Available on crate feature threading only.
Expand description

Returns the priority of a thread.

Returns None if this is not a valid thread.