Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2002
    New Delhi

    Problem with waitpid

    Hi Friends,

    I'm creating child process using fork and am calling waitpid(...) to handle defunct processes. BUT what is happening is that when the child processes calls exit(0) then a new process gets created automatically which is same as the process which called exit and also they call exit(0)and this continous for quite a time and then after some time the child process creation stops.

    I can not figure out why it is happening?

    I Surely need solution buddies.


  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    You must be doing something really strange. Once again: Is there any way for me to look at your code? (I'm guessing this is the same project as before)

Posting Permissions

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