函数逻辑报告 |
Source Code:kernel\exit.c |
Create Date:2022-07-27 10:02:52 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:When we die, we re-parent all our children, and try to:* 1
函数原型:static struct task_struct *find_new_reaper(struct task_struct *father, struct task_struct *child_reaper)
返回类型:struct task_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | father | |
struct task_struct * | child_reaper |
544 | thread等于find_alive_thread(father) |
548 | 如果has_child_subreaper则 |
563 | 如果非is_child_subreaper则继续下一循环 |
565 | thread等于find_alive_thread(reaper) |
571 | 返回:child_reaper |
名称 | 描述 |
---|---|
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) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |