Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:03:10 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Any that need to be release_task'd are put on the @dead list.
Proto:static void reparent_leader(struct task_struct *father, struct task_struct *p, struct list_head *dead)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | father | |
struct task_struct * | p | |
struct list_head * | dead |
580 | If Value for the false possibility is greater at compile time(exit state == Used in tsk->exit_state: ) Then Return |
584 | exit signal = SIGCHLD |
587 | If Not ptrace && exit state == EXIT_ZOMBIE && thread_group_empty(p) Then |
589 | If do_notify_parent(p, exit signal) Then |
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 |