[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <496663B6.3090709@redhat.com>
Date: Thu, 08 Jan 2009 15:36:06 -0500
From: Casey Dahlin <cdahlin@...hat.com>
To: Roland McGrath <roland@...hat.com>
CC: Oleg Nesterov <oleg@...hat.com>,
Ulrich Drepper <drepper@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Randy Dunlap <randy.dunlap@...cle.com>,
Davide Libenzi <davidel@...ilserver.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [RESEND][RFC PATCH v2] waitfd
Roland McGrath wrote:
>>> Since waitfd shouldn't consume the child termination notification
>>> waitfd should be more widely usable than the wait*() interfaces.
>
> waitid can be used that way with WNOWAIT.
Yes, but waitfd does not have this flag. The reason being waitfd just calls waitid internally, and there is no guarantee (afaik) that calling waitid with WNOWAIT multiple times in succession will yield different results each time. This breaks the streaming behavior of the descriptor.
--CJD
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists