flipperzero_sys

Function furi_kernel_lock

Source
pub unsafe extern "C" fn furi_kernel_lock() -> i32
Expand description

Lock kernel, pause process scheduling

This should never be called in interrupt request context.

ยงReturns

previous lock state(0 - unlocked, 1 - locked)