Function flipperzero_sys::furi_thread_set_priority
source · pub unsafe extern "C" fn furi_thread_set_priority(
thread: *mut FuriThread,
priority: FuriThreadPriority,
)Expand description
Set the priority of a FuriThread.
The thread MUST be stopped when calling this function.
§Arguments
thread(direction in, out) - pointer to the FuriThread instance to be modifiedpriority(direction in) - priority level value