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

Lock kernel, pause process scheduling

@warning This should never be called in interrupt request context.

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