Compare commits

..

No commits in common. "2e3c47071fe0911b8b7be6865521cd51adf40d6c" and "0fd1fae6dc28bc11f04621dfdc276355857fc0bd" have entirely different histories.

2 changed files with 200 additions and 212 deletions

View File

@ -162,5 +162,3 @@ Sanity checks raised $sanitywarn warnings... Hit Control-C to abort." >&2
fi
fi
}
# vim:set ts=8 sw=8:

View File

@ -17,8 +17,6 @@ master() {
return 0
fi
until (( active == concurrency || remaining == 0 ))
do
echo '
SELECT COUNT(*)
FROM tasks
@ -112,7 +110,7 @@ master() {
if (( ready > 0 ))
then
createworker
continue
return 0
fi
echo '
@ -227,13 +225,5 @@ master() {
else
createworker
fi
echo '
SELECT COUNT(*)
FROM tasks
WHERE status = 0;
'>&3
read -u4 remaining
done
fi
}