Scroll to navigation

TRY_TO_DEL_TIMER_SYN(9) Driver Basics TRY_TO_DEL_TIMER_SYN(9)

NAME

try_to_del_timer_sync - Try to deactivate a timer

SYNOPSIS

int try_to_del_timer_sync(struct timer_list * timer);

ARGUMENTS

timer

timer do del

DESCRIPTION

This function tries to deactivate a timer. Upon successful (ret >= 0) exit the timer is not queued and the handler is not running on any CPU.

It must not be called from interrupt contexts.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.