1ADD_TIMER(9)                     Driver Basics                    ADD_TIMER(9)
2
3
4

NAME

6       add_timer - start a timer
7

SYNOPSIS

9       void add_timer(struct timer_list * timer);
10

ARGUMENTS

12       timer
13           the timer to be added
14

DESCRIPTION

16       The kernel will do a ->function(->data) callback from the timer
17       interrupt at the ->expires point in the future. The current time is
18       'jiffies'.
19
20       The timer's ->expires, ->function (and if the handler uses it, ->data)
21       fields must be set prior calling this function.
22
23       Timers with an ->expires field in the past will be executed in the next
24       timer tick.
25
27Kernel Hackers Manual 2.6.       November 2011                    ADD_TIMER(9)
Impressum