Re: Synchronous signal delivery..

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Feb 14 2003 - 09:24:38 EST


On Fri, 2003-02-14 at 08:55, Abramo Bagnara wrote:
> This reminds me the unfortunate (and much needed) lack of an unified way
> to send/receive out-of-band data to/from a regular fd.
>
> Something like:
> oob = fd_open(fd, channel, flags);
> write(oob, ...)
> read(oob, ....)
> close(oob);
>
> Don't you think it's time to introduce it and to start to avoid the
> proliferation of different tricky ways to do the same things?

Why are you trying to throw yet more crap into the kernel. Linus signals
as fd thing is questionable but makes a little sense (its in many ways
more unix than the traditional approach of using real time queued
signal since you can now select on it)

Out of band data is a second data channel, so open two pipes. Jeez

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



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:54 EST