开发者

what happens to child process?

开发者 https://www.devze.com 2023-02-26 02:16 出处:网络
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\'

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

精彩评论

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