函数逻辑报告 |
Source Code:kernel\time\posix-timers.c |
Create Date:2022-07-27 11:46:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Set a POSIX.1b interval timer.
函数原型:int common_timer_set(struct k_itimer *timr, int flags, struct itimerspec64 *new_setting, struct itimerspec64 *old_setting)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct k_itimer * | timr | |
int | flags | |
struct itimerspec64 * | new_setting | |
struct itimerspec64 * | old_setting |
850 | it_interval等于0 |
855 | 如果timer_try_to_cancel(timr)小于0则返回: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 | 如果非 seconds 且非 nanoseconds 则返回:0 |
871 | timer_arm(timr, expires, flags & The various flags for setting POSIX.1b interval timers:, sigev_none) |
872 | it_active等于非sigev_none |
873 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |