Function flipperzero_sys::furi_kernel_lock
source · pub unsafe extern "C" fn furi_kernel_lock() -> i32Expand description
Lock kernel, pause process scheduling
Warning!
- This should never be called in interrupt request context.
Returns:
- previous lock state(0 - unlocked, 1 - locked)