lkml.org 
[lkml]   [2000]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: what is a "writtable" fd in select?
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.052 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site