Function report |
Source Code:kernel\time\timer.c |
Create Date:2022-07-28 10:39:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ry_to_del_timer_sync - Try to deactivate a timer*@timer: timer to delete* This function tries to deactivate a timer. Upon successful (ret >= 0)* exit the timer is not queued and the handler is not running on any CPU.
Proto:int try_to_del_timer_sync(struct timer_list *timer)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timer_list * | timer |
| 1219 | ret = -1 |
| 1221 | debug_assert_init(timer) |
| 1225 | If running_timer != timer Then ret = detach_if_pending(timer, base, true) |
| 1228 | raw_spin_unlock_irqrestore( & lock, flags) |
| 1230 | Return ret |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |