Function report |
Source Code:kernel\exit.c |
Create Date:2022-07-28 09:03:03 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 |
323 | If Not parent Then parent = Real parent process: |
328 | Else ignored_task = NULL |
338 | __kill_pgrp_info(SIGHUP, SEND_SIG_PRIV, pgrp) |
339 | __kill_pgrp_info(SIGCONT, SEND_SIG_PRIV, pgrp) |
Name | Describe |
---|---|
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.. |
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 |