flipperzero_sysFunction furi_thread_get_return_code
Source pub unsafe extern "C" fn furi_thread_get_return_code(
thread: *mut FuriThread,
) -> i32
Expand description
Get the return code of a FuriThread instance.
This value is equal to the return value of the thread callback function.
The thread MUST be stopped when calling this function.
§Arguments
thread (direction in) - pointer to the FuriThread instance to be queried
§Returns
return code value