pub unsafe extern "C" fn sched_change_priority(
thread: *mut thread_t,
priority: u8,
)
Expand description
@brief Change the priority of the given thread
@note This functions expects interrupts to be disabled when called!
@pre (thread != NULL) @pre (priority < SCHED_PRIO_LEVELS)
@param[in,out] thread target thread @param[in] priority new priority to assign to @p thread