Function report |
Source Code:kernel\time\posix-timers.c |
Create Date:2022-07-28 10:46:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Set a POSIX.1b interval timer.
Proto:int common_timer_set(struct k_itimer *timr, int flags, struct itimerspec64 *new_setting, struct itimerspec64 *old_setting)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct k_itimer * | timr | |
int | flags | |
struct itimerspec64 * | new_setting | |
struct itimerspec64 * | old_setting |
850 | it_interval = 0 |
855 | If timer_try_to_cancel(timr) < 0 Then Return SPDX-License-Identifier: GPL-2.0 |
858 | it_active = 0 |
859 | it_requeue_pending = it_requeue_pending + 2 & ~REQUEUE_PENDING |
861 | it_overrun_last = 0 |
864 | If Not seconds && Not nanoseconds Then Return 0 |
871 | timer_arm(timr, expires, flags & The various flags for setting POSIX.1b interval timers:, sigev_none) |
872 | it_active = Not sigev_none |
873 | Return 0 |
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 |