Re: what is a "writtable" fd in select?

From: Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Date: Fri Mar 17 2000 - 08:57:44 EST


On Thu, 16 Mar 2000, Marty Leisner wrote:

> It seems when you go into select on a pipe (in this case a named
> pipe), freebsd and solaris come out of select when you can write some
> data to the pipe (i.e. 512-1k). linux comes out of the select when
> the pipe is empty.

I suspect that it's so that you can guarantee an atomic
write of PIPE_BUF bytes.

Matthew.

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:21 EST