Re: Revised signalfd man-page

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Davide Libenzi
Date: Monday, October 15, 2007 - 11:14 am

On Mon, 15 Oct 2007, Michael Kerrisk wrote:


I think I already answered those, no? Anyway ...




With the new code Linus already merged, signalfd does not attach to the 
sighand anymore, so the "orphaned sighand" behaviour is no more there.
An exec() will carry the fd over, and you will be able to use the fd in 
the same way you did before the exec(). If sigpending()/sigwaitinfo() will 
show signals available, so it should signalfd.




It'll return the signals that would be normally returned to the thread 
with the standard signal delivery methods. That is, calling thread private 
signals, and calling thread-group shared signals.



- Davide


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Revised signalfd man-page, Michael Kerrisk, (Thu Sep 27, 5:19 am)
Re: Revised signalfd man-page, Heikki Orsila, (Thu Sep 27, 5:40 am)
Re: Revised signalfd man-page, Michael Kerrisk, (Thu Sep 27, 5:44 am)
Re: Revised signalfd man-page, Davide Libenzi, (Thu Sep 27, 10:05 am)
Re: Revised signalfd man-page, Michael Kerrisk, (Thu Sep 27, 10:19 am)
Re: Revised signalfd man-page, Michael Kerrisk, (Sun Oct 14, 11:54 pm)
Re: Revised signalfd man-page, Davide Libenzi, (Mon Oct 15, 11:14 am)
Re: Revised signalfd man-page, Michael Kerrisk, (Tue Oct 16, 11:16 pm)
Re: Revised signalfd man-page, Davide Libenzi, (Wed Oct 17, 3:52 pm)