Re: Invoking a signal handler

2010-02-09 Thread Shrivats
This wasn't meant to be sent, not sure what the problem was. Please ignore this e-mail. Kostik had answered my question yesterday.  Thanks,-shrivatsan --- On  Tue, 2/9/10, Shrivats wrote: From: Shrivats Subject: Invoking a signal handler To: freebsd-hackers@freebsd.org Date: Tuesday, Feb

Invoking a signal handler

2010-02-08 Thread Shrivats
Hi, I am trying to understanding how the kernel invokes a signal handler for a currently executing process, to deliver an asynchronous signal posted by another process. I was looking at the sendsig() function which saves the  ___ freebsd-hackers@free

Re: Invoking a signal handler

2010-02-08 Thread Kostik Belousov
On Sun, Feb 07, 2010 at 10:55:53PM -0800, Shrivats wrote: > Hi, > > > I am trying to understand how the kernel invokes the signal handler for a process, to deliver an asynchronous signal posted by another process. > I was looking at the sendsig() function which saves the current user > context.

Invoking a signal handler

2010-02-07 Thread Shrivats
Hi, I am trying to understand how the kernel invokes the signal handler for a process, to deliver an asynchronous signal posted by another process. I was looking at the sendsig() function which saves the current user context. My question is, when and how does the transition from the kernel mo