Re: [RESEND][RFC PATCH v2] waitfd

Oleg Nesterov
2009-01-10T16:21:38Z

On 01/10, Scott James Remnant wrote:
>
> On Thu, 2009-01-08 at 22:39 +0100, Oleg Nesterov wrote:
>
> > Btw. It is not that I am trying to argue against sys_waitfd(), but do
> > you have the "real life" example when it can be useful? Yes, poll().
> > But we have signalfd. SIGCHLD is not rt signal, but afaics this is not
> > the problem actually. Just curious.
> >
> signalfd() can't currently be made to work in the way you describe.

Hmm. Could you clarify?

I am not sure we are talking about the same thing, but afaics poll() +
signalfd can work to (say) reap the childs. Actually, ppoll() alone is
enough.

No?

Oleg.