Find the answer to your Linux question:
Results 1 to 2 of 2
What happens to a child process that dies and has no parent process to wait for it and what’s bad about this?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Location
    US
    Posts
    6

    Child Process


    What happens to a child process that dies and has no parent process to wait for it and what’s bad about this?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    What? If a child process dies, it dies, end of story. The parent (should) receive(s) SIGCHLD to indicate the child's completeion. If the child process had any of its own children, and dies prematurely, these children of the child have their parent process changed to init.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •