Function report | 
Source Code:kernel\time\posix-timers.c | 
Create Date:2022-07-28 10:46:35 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Get the time remaining on a POSIX.1b interval timer. This function* is ALWAYS called with spin_lock_irq on the timer, thus it must not* mess with irq.* We have a couple of messes to clean up here. First there is the case
Proto:void common_timer_get(struct k_itimer *timr, struct itimerspec64 *cur_setting)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct k_itimer * | timr | |
| struct itimerspec64 * | cur_setting | 
| 652 | iv = it_interval | 
| 655 | If iv Then | 
| 657 | Else if Not it_active Then | 
| 662 | If Not sig_none Then Return | 
| 677 | If iv && ( it_requeue_pending & REQUEUE_PENDING || sig_none) Then it_overrun += timer_forward(timr, now) | 
| 680 | remaining = timer_remaining(timr, now) | 
| 682 | If remaining <= 0 Then | 
| 687 | If Not sig_none Then nanoseconds = 1 | 
| 689 | Else | 
| Name | Describe | 
|---|---|
| common_timer_set | Set a POSIX.1b interval timer. | 
| 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  |