Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-04-2002 #1Just Joined!
- Join Date
- Dec 2002
- Location
- New Delhi
- Posts
- 4
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.
Thanks
- 12-05-2002 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
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)


Reply With Quote
