other versions
HRTIMER_TRY_TO_CANCE(9) | Driver Basics | HRTIMER_TRY_TO_CANCE(9) |
NAME¶
hrtimer_try_to_cancel - try to deactivate a timerSYNOPSIS¶
int
hrtimer_try_to_cancel(struct hrtimer * timer);
ARGUMENTS¶
timerhrtimer to stop
RETURN¶
0 when the timer was not active 1 when the timer was active -1 when the timer is currently excuting the callback function and cannot be stoppedCOPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |