other versions
HRTIMER_CANCEL(9) | Driver Basics | HRTIMER_CANCEL(9) |
NAME¶
hrtimer_cancel - cancel a timer and wait for the handler to finish.
SYNOPSIS¶
int hrtimer_cancel(struct hrtimer * timer);
ARGUMENTS¶
timer
the timer to be cancelled
RETURN¶
0 when the timer was not active 1 when the timer was active
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |