Function report |
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 activity | Download SCCT | Chinese |
Name:good_sigevent
Proto:static struct pid *good_sigevent(sigevent_t *event)
Type:struct pid
Parameter:
Type | Parameter | Name |
---|---|---|
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 |
Name | Describe |
---|---|
do_timer_create | Create a POSIX.1b interval timer. |
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 |