fork()ing hell!!
Hello I am having serious trouble with the fork command, i basically want to create 9 or 10 child processes and store their pid numbers in array while the children stay resident until i kill() them later , i cannot seem to control how many are made as they all seem to create their own children.
I have managed to stop crashing my system, can somebody help please, none of my books are any use.
|