From: Szabolcs Szakacsits <szaka@sienet.hu>
To: zsh-users@sunsite.auc.dk
Subject: Re: Running N jobs from M all the time
Date: Wed, 13 Oct 1999 17:32:34 +0200 (MEST) [thread overview]
Message-ID: <Pine.LNX.4.10.9910131716230.6263-100000@divine.city.tvnet.hu> (raw)
In-Reply-To: <991012155901.ZM9091@candle.brasslantern.com>
On Tue, 12 Oct 1999, Bart Schaefer wrote:
> On Oct 12, 6:38am, Szabolcs Szakacsits wrote:
> } Subject: Running N jobs from M all the time
> }
> } My question would be there is an easy way for $SUBJECT?
>
> If I'm understanding you correctly, you want to do something like
>
> repeat 1000 do
> if (( number_of_jobs >= number_of_processors )); then
> wait $any_job
> fi
> command &
> done
Yes and thanks for the answer and run_parallel function. In brief
what and how I'd really like to see is e.g.
for i in * PARALLEL N ; do job $i ; done
Would it be very difficult to add these kind of feature? This would
always work when I'll do an
[anyshell] zsh
[zsh :)]
on any machine and no matter what zsh functions/extensions are
installed/configured.
Szaka
next prev parent reply other threads:[~1999-10-13 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-12 4:38 Szabolcs Szakacsits
1999-10-12 15:59 ` Bart Schaefer
1999-10-13 15:32 ` Szabolcs Szakacsits [this message]
1999-10-12 19:52 ` Adam Spiers
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=Pine.LNX.4.10.9910131716230.6263-100000@divine.city.tvnet.hu \
--to=szaka@sienet.hu \
--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).