wait for last tasks
This commit is contained in:
parent
e880ed1c59
commit
5c115e1f37
2
atom
2
atom
@ -536,7 +536,7 @@ starttime=$concurrencychange
|
|||||||
taskcount=$count
|
taskcount=$count
|
||||||
remaining=$taskcount
|
remaining=$taskcount
|
||||||
failed=0
|
failed=0
|
||||||
while (( remaining && ! quit ))
|
while (( (remaining || ${#workers[@]}) && ! quit ))
|
||||||
do
|
do
|
||||||
if read -n 1 -t 0.1 userinput
|
if read -n 1 -t 0.1 userinput
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user