Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-28 10:46:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:posix_timer_event

Proto:int posix_timer_event(struct k_itimer *timr, int si_private)

Type:int

Parameter:

TypeParameterName
struct k_itimer *timr
intsi_private
313  ret = -1
325  si_sys_private = si_private
327  type = If Not (it_sigev_notify & deliver to thread ) Then PIDTYPE_TGID Else PIDTYPE_PID
328  ret = send_sigqueue(sigq, it_pid, type)
330  Return ret > 0
Caller
NameDescribe
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.