use three threads
This commit is contained in:
parent
16b9965c8f
commit
238f142a5a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue