lkml.org 
[lkml]   [2001]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bidirectional named pipe?
Chris Wedgwood wrote:
>
> On Thu, Feb 08, 2001 at 03:10:08PM -0800, H. Peter Anvin wrote:
>
> I would really like it if open() on a socket would be the same
> thing to connect to a socket as a client. I don't think it's a
> good idea to do that for the server side, though, since it would
> have to know about accept() anyway.
>
> things like this (non-portable hacks) belong in libc surely?
>

Not if it makes more sense to implement in the kernel. I can't think of
a way to implement it in glibc without races, perhaps you can.

-hpa

--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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