Function report |
Source Code:kernel\time\posix-timers.c |
Create Date:2022-07-28 10:46:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:posix_timer_add
Proto:static int posix_timer_add(struct k_itimer *timer)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct k_itimer * | timer |
| 141 | first_free_id = posix_timer_id |
| 145 | Do |
| 147 | head = posix_timers_hashtable[hash(sig, posix_timer_id)] |
| 148 | If Not __posix_timers_find(head, sig, posix_timer_id) Then |
| 152 | If ++posix_timer_id < 0 Then posix_timer_id = 0 |
| 154 | If posix_timer_id == first_free_id && ret == -ENOENT Then ret = -EAGAIN |
| 157 | spin_unlock( & hash_lock) |
| 159 | Return ret |
| Name | Describe |
|---|---|
| do_timer_create | Create 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 |