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.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.