Skip to main content

cancel_kernel_timer

Function cancel_kernel_timer 

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

Cancels a registration without waiting for a callback already claimed.

CancellationDeferred accepts destruction and suppresses callback restart, but is not a callback-completion or payload-reclamation barrier.

A remote cancellation mutates only the original owner base. It may leave a conservative stale hardware edge; only the owner CPU may reprogram its physical comparator.