reset workPool position after wait

This commit is contained in:
tildearrow 2023-09-06 04:06:26 -05:00
parent 7d0f816d11
commit e1cd05e8e9

View file

@ -132,6 +132,8 @@ void DivWorkPool::wait() {
logW("DivWorkPool: wait() timed out!"); logW("DivWorkPool: wait() timed out!");
} }
} }
pos=0;
} }
DivWorkPool::DivWorkPool(unsigned int threads): DivWorkPool::DivWorkPool(unsigned int threads):