为什么NONE-“孤立进程组”在同一会话的不同进程组中需要子进程和父进程?

时间:2013-11-03 01:54:17

标签: linux process

在UNIX的高级编程中,第9.10节

"The POSIX.1 definition of an orphaned process group is one in which the
parent of every member is either itself a member of the group or is not 
a member of the group's session. Another way of wording this is that the 
process group is not orphaned as long as a process in the group has a 
parent in a different process group but in the same session. "

它还说:

“如果进程组未成为孤儿,则可能存在其中一个 父级在不同的进程组中但在同一会话中将重新启动 进程组中未停止孤立的进程。“

所以,如果进程组是孤立的:

1)子进程及其父进程在同一进程组中

2)子进程及其父进程位于不同会话的不同进程组

我想知道当子进程在上述两种情况下停止时,父进程是否有可能重新启动其子进程。

由于

0 个答案:

没有答案