flipperzero_sys

Function 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 modified
  • priority (direction in) - priority level value