Subject: Re: signal(SIGSEGV, SIG_IGN) -> 100% CPU
To: None <tech-kern@netbsd.org>
From: Wolfgang Solfrank <ws@tools.de>
List: tech-kern
Date: 06/14/1999 17:30:07
Hi,
> > pipe(2) is defined to be one-way. socketpair(2) creates a two-way
> > pipe.
...
> For that matter, I can't help wondering how many programs would care if
> pipe() returned a bidirectional pipe. Portable code couldn't rely on
> it, obviously, but portable code is unlikely to do anything that cares
> whether the pipe is bidirectional or not.
Hmm, just looked at the man page on solaris and that says, among other
points, under the heading NOTES:
Since a pipe is bi-directional, there are two separate flows of data.
Just another data point.
Ciao,
Wolfgang
--
ws@TooLs.DE (Wolfgang Solfrank, TooLs GmbH) +49-228-985800