suse man page for del_timer_sync

Query: del_timer_sync

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DEL_TIMER_SYNC(9)						   Driver Basics						 DEL_TIMER_SYNC(9)

NAME
del_timer_sync - deactivate a timer and wait for the handler to finish.
SYNOPSIS
int del_timer_sync(struct timer_list * timer);
ARGUMENTS
timer the timer to be deactivated
DESCRIPTION
This function only differs from del_timer on SMP: besides deactivating the timer it also makes sure the handler has finished executing on other CPUs.
SYNCHRONIZATION RULES
Callers must prevent restarting of the timer, otherwise this function is meaningless. It must not be called from interrupt contexts. The caller must not hold locks which would prevent completion of the timer's handler. The timer's handler must not call add_timer_on. Upon exit the timer is not queued and the handler is not running on any CPU. The function returns whether it has deactivated a pending timer or not.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 DEL_TIMER_SYNC(9)
Related Man Pages
iv_timer(3) - debian
iv_timer_unregister(3) - debian
install_int(3alleg4) - osx
install_int(3alleg4) - php
install_int(3alleg4) - v7
Similar Topics in the Unix Linux Community
Kernel Panic - Display Freeze/Lockup