Re: Add pselect, ppoll system calls.

From: Jakub Jelinek
Date: Mon Jun 13 2005 - 06:16:32 EST


On Mon, Jun 13, 2005 at 12:05:56PM +0100, Christoph Hellwig wrote:
> On Mon, Jun 13, 2005 at 10:41:41AM +0100, David Woodhouse wrote:
> > On Mon, 2005-06-13 at 11:16 +0200, bert hubert wrote:
> > > So, please, consider merging the patches.. ppoll is something else, I never
> > > heard about it, but pselect is widely known.
> >
> > It just seemed silly to implement pselect() without doing ppoll() at the
> > same time.
>
> Yes, it kinda makes sense. Question to Uli: would you put ppoll() into
> glibc as GNU extension? If not adding the syscall is rather poinless
> unfortunately.

And if ppoll is added, the question is also what it's prototype should look like
(i.e. have the suboptimal int timeout argument as poll(2), where you can
only wait for less than a month or infinitely, or use const struct timespec *
like pselect, or struct timeval * like select).

Jakub
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/