函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-27 11:46:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:posix_timer_event

函数原型:int posix_timer_event(struct k_itimer *timr, int si_private)

返回类型:int

参数:

类型参数名称
struct k_itimer *timr
intsi_private
313  ret等于负1
325  si_sys_private等于si_private
327  type等于如果非it_sigev_notify按位与deliver to thread 的值则PIDTYPE_TGID否则单一进程
328  ret等于send_sigqueue(sigq, it_pid, type)
330  返回:ret大于0
调用者
名称描述
posix_timer_fnThis function gets called when a POSIX.1b interval timer expires. It* is used as a callback from the kernel internal timer. The* run_timer_list code ALWAYS calls with interrupts on.* This code is for CLOCK_REALTIME* and CLOCK_MONOTONIC* timers.
cpu_timer_fireThe timer is locked, fire it and arrange for its reload.