函数逻辑报告 |
Source Code:kernel\exit.c |
Create Date:2022-07-27 10:02:46 |
| Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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)
函数原型:static void kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | tsk | |
| struct task_struct * | parent |
| 320 | pgrp等于Without tasklist or RCU lock it is not safe to dereference* the result of task_pgrp/task_session even if task == current,* we can race with another thread doing sys_setsid/sys_setpgid. |
| 321 | ignored_task等于tsk |
| 328 | 否则ignored_task = NULL |
| 338 | __kill_pgrp_info(SIGHUP, SEND_SIG_PRIV, pgrp) |
| 339 | __kill_pgrp_info(SIGCONT, SEND_SIG_PRIV, pgrp) |
| 名称 | 描述 |
|---|---|
| reparent_leader | Any that need to be release_task'd are put on the @dead list. |
| exit_notify | Send signals to all our closest relatives so that they know* to properly mourn us.. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |