pub unsafe extern "C" fn flipper_application_alloc_thread(
    app: *mut FlipperApplication,
    args: *const c_char,
) -> *mut FuriThread
Expand description

Allocate application thread at entry point address, using app name and stack size from metadata. Returned thread isn’t started yet. Can be only called once for application instance.

§Arguments

  • app - Applicaiton pointer
  • args - Args to pass to app’s entry point

§Returns

Created thread