Sleep while waiting for forked processes to complete

This commit is contained in:
Jeremy Lakeman 2013-12-09 11:21:45 +10:30
parent 1ed03e5bf3
commit 3b14543750

View File

@ -1713,6 +1713,7 @@ fork_wait_all() {
fi
done
[ $running -eq 0 ] && return 0
sleep 1
done
}