Skip to main content

cancel_kernel_timer

Function cancel_kernel_timer 

Source
pub fn cancel_kernel_timer(
    handle: KernelTimerHandle,
) -> Result<KernelTimerCancelOutcome, KernelTimerError>
Expand description

Cancels a kernel-timer registration without waiting for an executing callback.

A callback already claimed for execution may finish, but its tombstone prevents any restartable action from returning to the active queue.