flipperzero_sys

Function furi_thread_set_stack_size

Source
pub unsafe extern "C" fn furi_thread_set_stack_size(
    thread: *mut FuriThread,
    stack_size: usize,
)
Expand description

Set the stack size of a FuriThread instance.

The thread MUST be stopped when calling this function. Additionally, it is NOT possible to change the stack size of a service thread under any circumstances.

ยงArguments

  • thread (direction in, out) - pointer to the FuriThread instance to be modified
  • stack_size (direction in) - stack size in bytes