On Sun, Sep 12, 2010 at 1:02 PM, Sri Ram Vemulpali
<[email protected]> wrote:
> Hi Guys,
>    This is the question asked by WindRiver.com in interview.
>    Question: A process has 5 children. Process child 5 is trying to send
> signal (some signal) to Child 2 and Child 3. Calls signal(2,SIG),
> signal(3,SIG). Now the question is, How are the signals delivered, I mean
> their order and which child process gets the signal first.

Do you mean: Calls kill(2,SIG). kill(3,SIG)....what system call is
being used.  It is definitely not signal() since that is the system
call for installing a signal handler.

I would look at the code in kernel/signal.c This has the "kill" system
call which appears to do all its dirty work in __send_signal().

--
John

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to