how parent process again restarts killed child processes??
I have a parent process which spawns 4 child processes. Parent is handling SIGCHLD signal for child termination. Now i am killing one child process like - "kill -9 PID1". After that parent process receives SIGCHLD signal and kills the remaining 3 child processes running.
But these 3 child processes, terminated by parent process are sending SIGCHILD signal to parent process which i don't want. So how to avoid/discard the SIGCHILD signal in parent process for these 3 child processes killed??
And without exiting the parent process i have to spawn these 4 child processes again. so how to do this?
Last edited by vflex; 11-08-2011 at 02:30 PM.