Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

del_timer_sync(9) [suse man page]

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)

Check Out this Related Man Page

install_int(3alleg4)						  Allegro manual					      install_int(3alleg4)

NAME
install_int - Installs a user timer handler. Allegro game programming library. SYNOPSIS
#include <allegro.h> int install_int(void (*proc)(), int speed); DESCRIPTION
Installs a user timer handler, with the speed given as the number of milliseconds between ticks. This is the same thing as install_int_ex(proc, MSEC_TO_TIMER(speed)). If you call this routine without having first installed the timer module, install_timer() will be called automatically. Calling again this routine with the same timer handler as parameter allows you to adjust its speed. RETURN VALUE
Returns zero on success, or a negative number if there is no room to add a new user timer. SEE ALSO
install_timer(3alleg4), remove_int(3alleg4), install_int_ex(3alleg4), install_param_int(3alleg4), exscn3d(3alleg4), exswitch(3alleg4), extimer(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 install_int(3alleg4)
Man Page