programming ideas: track and terminate child processes
I created a program basically what it does is fork a bunch of child processes, then I sent a signal to the parents which pass it on to all of its children, one of the children will start its own group upon the receptioin of the signal and fork a bunch of its own children. I need a good algorithm that will terminate all the process at the end of the program, any good ideas?
|