Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 1997 13:00:02 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        andrew@erlenstar.demon.co.uk (Andrew Gierth)
Cc:        toor@dyson.iquest.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: socketpair()
Message-ID:  <199705111800.NAA08334@dyson.iquest.net>
In-Reply-To: <87rafene42.fsf@erlenstar.demon.co.uk> from Andrew Gierth at "May 11, 97 05:54:37 pm"

index | next in thread | previous in thread | raw e-mail

> 
> As far as I can tell, though, bidirectional pipes are still pretty much
> confined to SVR4 (STREAMS pipes) and FreeBSD; most of the other flavours
> I've encountered still use unidirectional pipes (at least by default;
> some, like HP-UX 10.10, have a switch for it in the kernel parameters).
> 
> In other words, having support for bidirectional pipes is nice, but
> relying on them will probably get you into trouble.
> 
> Is there actually any good reason for having bidirectional pipes, other
> than for coping with code ported from SVR4?
> 
I am neutral on them.  Since they were cheap to add (someone else originally
made our pipes bidirectional), I can't see a reason for not having them,
except perhaps those who port from FreeBSD to other OSes. 

Whatever whomever added them wants, I'll be happy with the decision.

John



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705111800.NAA08334>