On Mon, 13 Jul 2009, Garrett D'Amore wrote:
I'm concerned that yes, it would cause problem, because of "alignment"
considerations.
We need a function that affects the "safe" uses (e.g. shell's use of | ) but
doesn't affect unknown uses (applications that use pipe(2) syscall.)
It is likely that the "safe" uses are not as safe as one would expect.
In any case where there is a "loop" in the processing (e.g. use of a
co-process), changing the buffer sizing could result in a deadlock.
Besides the pipe(2) syscall, there are named pipes, the efficient
precursor to unix domain sockets.
Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org