]> err.no Git - moreutils/commit
parallel: Fix to really avoid running new jobs when load is too high.
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 23 Feb 2010 19:36:50 +0000 (14:36 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 23 Feb 2010 19:36:50 +0000 (14:36 -0500)
commitf8f42e5fae33fc0e5a5500c2594982f84de592a2
treeb3593b93105f5a3b4e35c5e7e4f60381debc2d2d
parent9e1baf374a9e26b2e29f706ef3e65273410eedb9
parallel: Fix to really avoid running new jobs when load is too high.

The conditions were ORed before, which typically made the load limit be
ignored since the jobs limit was satisfied.

Also, -l 0 makes little sense, so don't really wait for the load to become
lower than 0 in that case.
debian/changelog
parallel.c