Hi xiaolan,
On Tue, 14 May 2013 18:51:51 +0800
xiaolan <
practi...@gmail.com> wrote:
> Thanks all the answers.
> Shlomi long time no see :)
Yes. :-) I am available on IM:
http://www.shlomifish.org/me/contact-me/
>
> Have another question that, what's the difference between the system call
> child process and the native forked child process?
> Does the child process of system call have the problems of receiving
> signals from the parent?
What system() does (at least on UNIX-like OSes) is fork a child, call exec()
with a new process and wait for the new child to terminate (plus some other
stuff to get rid of misbehaviours). A child process can still get a signal from
every process of that user or that belongs to the user root (including the
parent process, but not exclusively).
Regards,
Shlomi Fish
Interview with Ben Collins-Sussman -
http://shlom.in/sussman
Where they have burned books, they will end in burning human beings.
—
http://en.wikiquote.org/wiki/Heinrich_Heine