Function report | 
Source Code:kernel\exit.c | 
Create Date:2022-07-28 09:03:34 | 
| Last Modify:2020-03-17 11:17:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Consider @p for a wait by @parent
Proto:static int wait_consider_task(struct wait_opts *wo, int ptrace, struct task_struct *p)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct wait_opts * | wo | |
| int | ptrace | |
| struct task_struct * | p | 
| 1265 | exit_state = READ_ONCE(exit state) | 
| 1268 | If Value for the false possibility is greater at compile time(exit_state == Used in tsk->exit_state: ) Then Return 0 | 
| 1271 | ret = eligible_child(wo, ptrace, p) | 
| 1280 | If Value is more likely to compile time(!ptrace) Then notask_error = 0 | 
| 1282 | Return 0 | 
| 1297 | If Not ptrace_reparented(p) Then ptrace = 1 | 
| 1302 | If exit_state == EXIT_ZOMBIE Then | 
| 1304 | If Not delay_group_leader(p) Then | 
| 1334 | If Value is more likely to compile time(!ptrace) || wo_flags & (WCONTINUED | WEXITED) Then notask_error = 0 | 
| 1336 | Else | 
| 1341 | notask_error = 0 | 
| Name | Describe | 
|---|---|
| do_wait_thread | Do the work of do_wait() for one thread in the group, @tsk | 
| ptrace_do_wait | 
| 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  |