From: | David Leverton <levertond@××××××××××.com> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash | ||
Date: | Sat, 02 Jun 2012 09:53:08 | ||
Message-Id: | 4FC9E241.3060203@googlemail.com | ||
In Reply to: | [gentoo-dev] multiprocessing.eclass: doing parallel work in bash by Mike Frysinger |
1 | Mike Frysinger wrote: |
2 | > exec {mj_control_fd}<>${mj_control_pipe} |
3 | |
4 | I'll have to remember that feature, but unfortunately it's new in bash |
5 | 4.1, so unless we're giving up 3.2 as the minimum for the tree.... |
6 | |
7 | > : $(( ++mj_num_jobs )) |
8 | |
9 | Any reason not to do just |
10 | |
11 | (( ++mj_num_jobs )) |
12 | |
13 | ? |
14 | |
15 | > : $(( --mj_num_jobs )) |
16 | |
17 | > : $(( ret |= $? )) |
18 | |
19 | Same. |
Subject | Author |
---|---|
Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash | Mike Frysinger <vapier@g.o> |