use three threads

This commit is contained in:
Marcus (DeltaLima) 2023-12-30 14:38:37 +01:00
parent 16b9965c8f
commit 238f142a5a

View file

@ -176,11 +176,12 @@ floot() {
LOL[1]="$(cat ${FNAME}1.pixlist | shuf)" LOL[1]="$(cat ${FNAME}1.pixlist | shuf)"
LOL[2]="$(cat ${FNAME}2.pixlist | shuf )" LOL[2]="$(cat ${FNAME}2.pixlist | shuf )"
LOL[3]="$(cat ${FNAME}2.pixlist | shuf )"
#LOL[3]="$(cat $FNAME-mc.pixlist.2 | shuf)" #LOL[3]="$(cat $FNAME-mc.pixlist.2 | shuf)"
while true while true
do do
for i in 1 2 for i in 1 2 3
do do
if [ -z ${LOLPID[$i]} ] || ! ps -p ${LOLPID[$i]} > /dev/null if [ -z ${LOLPID[$i]} ] || ! ps -p ${LOLPID[$i]} > /dev/null
then then