table of contents
other versions
- jessie 3.16.56-1+deb8u1
ADD_TIMER(9) | Driver Basics | ADD_TIMER(9) |
NAME¶
add_timer - start a timerSYNOPSIS¶
void
add_timer(struct timer_list * timer);
ARGUMENTS¶
timerthe timer to be added
DESCRIPTION¶
The kernel will do a ->function(->data) callback from the timer interrupt at the ->expires point in the future. The current time is 'jiffies'. The timer's ->expires, ->function (and if the handler uses it, ->data) fields must be set prior calling this function. Timers with an ->expires field in the past will be executed in the next timer tick.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |