开发者

what happens to child process?

What happens to a child process whose parent process is terminated ab开发者_JAVA技巧ruptly without waiting? Does the child process die too?


The child gets reparented to init.


No, it becomes 'orphaned' (i.e. its parent becomes init - PID 1).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜