14
Jun
In Linux What Happens To The Parent Process When The Child Process Executes?
Author: admin // Category: Linuxyes it is a question for school, but I would like to know the answer also…
I have tried googling it, but this question must be too basic or something, because I get a lot of complex answers about security glitches and people taking over root access and such…instead of me being able to find out the simple thing that happens…
also it is not in my book…
Tags: Child, Executes, Happens, Linux, Parent, Process, What, When
June 14th, 2009 at 11:52 pm
I believe it depends upon how you spawn the child process - are you talking about threading, forking or cloning?
These should give you some basic ideas, or at least pointers for better searches:http://linux.die.net/man/2/clonehttp://linux.about.com/library/cmd/blcmd…http://en.wikipedia.org/wiki/Exit_(opera…http://www.digilife.be/quickreferences/Q…