[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parallelism a la make -j <n> / GNU parallel
From: |
Andreas Schwab |
Subject: |
Re: Parallelism a la make -j <n> / GNU parallel |
Date: |
Fri, 04 May 2012 19:46:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (gnu/linux) |
Mike Frysinger <vapier@gentoo.org> writes:
> i wish there was a way to use `wait` that didn't block until all the pids
> returned. maybe a dedicated option, or a shopt to enable this, or a new
> command.
>
> for example, if i launched 10 jobs in the background, i usually want to wait
> for the first one to exit so i can queue up another one, not wait for all of
> them.
If you set -m you can trap on SIGCHLD while waiting.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: Parallelism a la make -j <n> / GNU parallel, Chet Ramey, 2012/05/04
- Re: Parallelism a la make -j <n> / GNU parallel, Mike Frysinger, 2012/05/04
- Re: Parallelism a la make -j <n> / GNU parallel,
Andreas Schwab <=
- Re: Parallelism a la make -j <n> / GNU parallel, Mike Frysinger, 2012/05/04
- Re: Parallelism a la make -j <n> / GNU parallel, John Kearney, 2012/05/04
- Re: Parallelism a la make -j <n> / GNU parallel, Greg Wooledge, 2012/05/04
- Re: Parallelism a la make -j <n> / GNU parallel, John Kearney, 2012/05/04
Re: Parallelism a la make -j <n> / GNU parallel, Mike Frysinger, 2012/05/04
Re: Parallelism a la make -j <n> / GNU parallel, John Kearney, 2012/05/04
Re: Parallelism a la make -j <n> / GNU parallel, Mike Frysinger, 2012/05/05
Re: Parallelism a la make -j <n> / GNU parallel, Andreas Schwab, 2012/05/05
Re: Parallelism a la make -j <n> / GNU parallel, Chet Ramey, 2012/05/07
Re: Parallelism a la make -j <n> / GNU parallel, John Kearney, 2012/05/05