furi_thread_set_context

Function furi_thread_set_context 

Source
pub unsafe extern "C" fn furi_thread_set_context(
    thread: *mut FuriThread,
    context: *mut c_void,
)
Expand description

Set the callback function context.

The thread MUST be stopped when calling this function.

ยงArguments

  • thread (direction in, out) - pointer to the FuriThread instance to be modified
  • context (direction in) - pointer to a user-specified object (will be passed to the callback, can be NULL)