Re: Add pselect, ppoll system calls.

From: David Woodhouse
Date: Mon Jun 13 2005 - 06:28:43 EST


On Mon, 2005-06-13 at 12:15 +0100, Alan Cox wrote:
> Right but why can't glibc be fixed to use the longjmp trick
> internally.

Unless I misunderstand what is suggested, for glibc to do that
internally would be vile. It'd have to override the signal handler for
every signal which is unmasked by the new signal mask, right?

That kind of trick makes some sense to use in an _application_ if the
author isn't expecting to run on a POSIX system and just use pselect(),
but for glibc to hack it up internally would be horrid.

--
dwmw2

-
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/