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:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:good_sigevent

Proto:static struct pid *good_sigevent(sigevent_t *event)

Type:struct pid

Parameter:

TypeParameterName
sigevent_t *event
407  pid = task_tgid(current process)
411  Case sigev_notify == ify via signal | deliver to thread
412  pid = find_vpid(sigev_notify_thread_id)
413  rtn = pid_task(pid, PIDTYPE_PID)
414  If Not rtn || Not same_thread_group(rtn, current process) Then Return NULL
417  Case sigev_notify == ify via signal
418  Case sigev_notify == deliver via thread creation
419  If sigev_signo <= 0 || sigev_signo > SIGRTMAX Then Return NULL
422  Case sigev_notify == her notification: meaningless
423  Return pid
424  Default
425  Return NULL
Caller
NameDescribe
do_timer_createCreate a POSIX.1b interval timer.