Function report |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-28 10:47:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The timer is locked, fire it and arrange for its reload.
Proto:static void cpu_timer_fire(struct k_itimer *timer)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct k_itimer * | timer |
| 525 | If (it_sigev_notify & ~deliver to thread ) == her notification: meaningless Then |
| 529 | cpu_timer_setexpires(ctmr, 0) |
| 530 | Else if Value for the false possibility is greater at compile time(sigq == NULL) Then |
| 536 | cpu_timer_setexpires(ctmr, 0) |
| 537 | Else if Not it_interval Then |
| 541 | posix_timer_event(timer, 0) |
| 542 | cpu_timer_setexpires(ctmr, 0) |
| 543 | Else if posix_timer_event(timer, ++it_requeue_pending) Then |
| 551 | ++it_requeue_pending |
| 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.) |
| run_posix_cpu_timers | This is called from the timer interrupt handler. The irq handler has* already updated our counts. We need to check if any timers fire now.* Interrupts are disabled. |
| 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 |