zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Kevin Sullivan <kevins@mediaone.net>
Cc: zsh-users@sunsite.auc.dk
Subject: Re: Prompt expansion, multi-job for
Date: Thu, 06 Jan 2000 17:47:51 +0000	[thread overview]
Message-ID: <3874D547.A61B6E3D@u.genie.co.uk> (raw)
In-Reply-To: <14452.47479.5744.410474@gargle.gargle.HOWL>

Kevin Sullivan wrote:
> I use 8hz-mp3 instead of l3enc and I use 'wait'. It is
> granted simplistic. But then again took about 1 min to think up and 2
> min to write. I added a bunch of worthless printing but this has
> worked well for some 20Gig of mp3(s) and growing...

The trouble with wait is that it will wait for all the jobs to finish - there is no way to get it to wait for the first job to finish so you are setting 4 jobs off, waiting for them all to finish and doing the next 4 instead of doing the next each time a job finishes. Your solution is certainly nice and simple but it won't utilise multiple processors as well. If all the jobs are going to take roughly similar time then this makes less of a difference.

Oliver


  parent reply	other threads:[~2000-01-06 17:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-06  8:44 Andre Pang
2000-01-06 12:03 ` Oliver Kiddle
2000-01-06 14:19   ` Thomas Köhler
2000-01-06 15:21     ` Oliver Kiddle
     [not found]       ` <14452.47479.5744.410474@gargle.gargle.HOWL>
2000-01-06 17:47         ` Oliver Kiddle [this message]
2000-01-09  0:59       ` Bart Schaefer
2000-01-06 14:54   ` Andre Pang
2000-01-06 12:44 ` Andrej Borsenkow
2000-01-06 14:46   ` Andre Pang
2000-01-06 20:18 ` Peter Stephenson
2000-01-06 11:41 Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3874D547.A61B6E3D@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=kevins@mediaone.net \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).