Function report |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-28 10:48:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:posix_cpu_timer_rearm
Proto:static void posix_cpu_timer_rearm(struct k_itimer *timer)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct k_itimer * | timer |
978 | clkid = CPUCLOCK_WHICH(it_clock) |
985 | If WARN_ON_ONCE(!p) Then Return |
991 | If CPUCLOCK_PERTHREAD(it_clock) Then |
994 | If Value for the false possibility is greater at compile time(exit state) Then Return |
998 | sighand = lock_task_sighand(p, & flags) |
999 | If Not sighand Then Return |
1001 | Else |
1006 | sighand = lock_task_sighand(p, & flags) |
1007 | If Value for the false possibility is greater at compile time(sighand == NULL) Then |
1012 | cpu_timer_setexpires(ctmr, 0) |
1013 | Return |
1014 | Else if Value for the false possibility is greater at compile time(exit state) && thread_group_empty(p) Then |
1016 | Go to unlock |
1027 | unlock : |
1028 | unlock_task_sighand(p, & flags) |
Name | Describe |
---|---|
cpu_timer_fire | The timer is locked, fire it and arrange for its reload. |
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 |