ariel_os::thread

Function set_priority

pub fn set_priority(thread_id: ThreadId, prio: RunqueueId)
Available on crate feature threading only.
Expand description

Changes the priority of a thread.

This might trigger a context switch.