pub unsafe extern "C" fn furi_thread_set_signal_callback(
thread: *mut FuriThread,
callback: FuriThreadSignalCallback,
context: *mut c_void,
)Expand description
Set a signal handler callback for a FuriThread instance.
The thread MUST be stopped when calling this function if calling it from another thread.
ยงArguments
thread(direction in, out) - pointer to the FuriThread instance to be modifiedcallback(direction in) - pointer to a user-specified callback functioncontext(direction in) - pointer to a user-specified object (will be passed to the callback, can be NULL)