Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:03:21 |
| Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:eligible_child
Proto:static int eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct wait_opts * | wo | |
| bool | ptrace | |
| struct task_struct * | p |
| 944 | If Not eligible_pid(wo, p) Then Return 0 |
| 951 | If ptrace || wo_flags & Wait on all children, regardless of type Then Return 1 |
| 962 | If exit signal != SIGCHLD ^ Not Not (wo_flags & Wait only on non-SIGCHLD children ) Then Return 0 |
| 965 | Return 1 |
| Name | Describe |
|---|---|
| wait_consider_task | Consider @p for a wait by @parent |
| 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 |