Skip to main content

Module timer

Module timer 

Source
Expand description

Task-context timer callbacks and shared cancellation outcomes.

Structs§

KernelTimerHandle
Stable identity of one host kernel-timer registration.

Enums§

KernelTimerAction
Result returned by a restartable kernel-timer callback.
KernelTimerCancelOutcome
Outcome of a non-blocking kernel-timer cancellation attempt.

Functions§

cancel_kernel_timer
Cancels a registration without waiting for a callback already claimed.
register_kernel_timer
Registers a task-context callback on the calling CPU’s monotonic clock base.
register_restartable_kernel_timer
Registers a stable callback that may rearm the same timer identity.

Type Aliases§

KernelTimerCallback
Callback executed by the owner CPU’s ktimers/%u service thread.
RestartableKernelTimerCallback
Callback for a stable timer registration that may restart itself.