Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e541968349f5b85e4be5bfc9ba8e65bf4534d827)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Remko van der Vossen <wich AT yuugen.jp>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e541968349f5b85e4be5bfc9ba8e65bf4534d827)
  • Date: Mon, 10 Nov 2008 18:50:22 +0100

On Mon, Nov 10, 2008 at 12:21:47PM -0500, flux wrote:
> Is this a bug in the pipe implementation(s) then? It seems that the
> variability comes from the pipes (plain redirection I know about), but
> I thought that that the process being piped to was supposed to wait on
> the process being piped from. If all processes in pipes were supposed to
> run in parallel, then it would make sense, but this seems silly. So much
> for my "pipe dream". :-P

No, this is not a bug in pipes, processes are supposed to run in
parallel, that't the whole idea. Think of a very very big input stream
that you want to run grep over, you really don't want the pipe blocking
until the process providing the input stream has finished, you might not
even have enough memory to hold the entire stream. And waiting for the
first bits of data through the stream hardly helps either, because that
just means that the file will be overwritten when the process providing
the input stream has only read it partly. So, yep, a pipe dream. ;)

Remko.

Attachment: pgpcaBDssSLTO.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page