furi_thread_set_appid

Function furi_thread_set_appid 

Source
pub unsafe extern "C" fn furi_thread_set_appid(
    thread: *mut FuriThread,
    appid: *const c_char,
)
Expand description

Set the application ID of a FuriThread instance.

The thread MUST be stopped when calling this function.

Technically, it is like a “process id”, but it is not a system-wide unique identifier. All threads spawned by the same app will have the same appid.

§Arguments

  • thread (direction in, out) - pointer to the FuriThread instance to be modified
  • appid (direction in) - thread application ID (can be NULL)