Function report |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-28 10:47:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Insert the timer on the appropriate list before any timers that* expire later. This must be called with the sighand lock held.
Proto:static void arm_timer(struct k_itimer *timer)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct k_itimer * | timer |
489 | clkidx = CPUCLOCK_WHICH(it_clock) |
491 | newexp = cpu_timer_getexpires(ctmr) |
495 | If CPUCLOCK_PERTHREAD(it_clock) Then base = bases + clkidx |
500 | If Not cpu_timer_enqueue( & tqhead, ctmr) Then Return |
512 | If CPUCLOCK_PERTHREAD(it_clock) Then tick_dep_set_task(p, TICK_DEP_BIT_POSIX_TIMER) |
514 | Else tick_dep_set_signal( Signal handlers: , TICK_DEP_BIT_POSIX_TIMER) |
Name | Describe |
---|---|
posix_cpu_timer_set | Guts of sys_timer_settime for CPU timers.* This is called with the timer locked and interrupts disabled.* If we return TIMER_RETRY, it's necessary to release the timer's lock* and try again. (This happens when the timer is in the middle of firing.) |
posix_cpu_timer_rearm |
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 |