Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:03:12 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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)
Proto:static void forget_original_parent(struct task_struct *father, struct list_head *dead)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | father | |
struct list_head * | dead |
611 | If Value for the false possibility is greater at compile time(!list_empty - tests whether a list is empty*@head: the list to test.) Then exit_ptrace(father, dead) |
615 | reaper = find_child_reaper(father, dead) |
616 | If list_empty - tests whether a list is empty*@head: the list to test. Then Return |
621 | for_each_thread(p, t) |
622 | Real parent process: = reaper |
623 | BUG_ON((!ptrace) != ( Recipient of SIGCHLD, wait4() reports: == father)) |
635 | If Not same_thread_group(reaper, father) Then Any that need to be release_task'd are put on the @dead list. |
Name | Describe |
---|---|
exit_notify | Send signals to all our closest relatives so that they know* to properly mourn us.. |
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 |