Function report | 
Source Code:kernel\exit.c | 
Create Date:2022-07-28 09:03:08 | 
| Last Modify:2020-03-17 11:17:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:find_child_reaper
Proto:static struct task_struct *find_child_reaper(struct task_struct *father, struct list_head *dead)__releases(&tasklist_lock) __acquires(&tasklist_lock)
Type:struct task_struct
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | father | |
| struct list_head * | dead | 
| 506 | pid_ns = task_active_pid_ns(father) | 
| 507 | reaper = child_reaper | 
| 510 | If Value is more likely to compile time(reaper != father) Then Return reaper | 
| 513 | reaper = find_alive_thread(father) | 
| 514 | If reaper Then | 
| 515 | child_reaper = reaper | 
| 516 | Return reaper | 
| 519 | write_unlock_irq( & tasklist_lock) | 
| 523 | release_task(p) | 
| 527 | write_lock_irq( & tasklist_lock) | 
| 529 | Return father | 
| Name | Describe | 
|---|---|
| forget_original_parent | This does two things:* A. Make init inherit all the child processes* B. Check to see if any process groups have become orphaned* as a result of our exiting, and if they have any stopped* jobs, send them a SIGHUP and then a SIGCONT. (POSIX 3.2.2.2) | 
| 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  |