furi_thread_get_id

Function furi_thread_get_id 

Source
pub unsafe extern "C" fn furi_thread_get_id(
    thread: *mut FuriThread,
) -> FuriThreadId
Expand description

Get the unique identifier of a FuriThread instance.

§Arguments

  • thread (direction in) - pointer to the FuriThread instance to be queried

§Returns

unique identifier value or NULL if thread is not running