pub fn update_priority() -> Result<()>
Updates internal base thread priority from sched_getparam syscall. Must be called if thread priority is changed manually.
sched_getparam