Home
last modified time | relevance | path

Searched refs:numStartedThreads (Results 1 – 5 of 5) sorted by relevance

/external/lzma/C/
DMtDec.c582 if (p->numStartedThreads < p->numStartedThreads_Limit && canCreateNewThread) in ThreadFunc2()
584 SRes res2 = MtDecThread_CreateAndStart(&p->threads[p->numStartedThreads]); in ThreadFunc2()
588 p->numStartedThreads++; in ThreadFunc2()
592 PRF(printf("\nERROR: numStartedThreads=%d\n", p->numStartedThreads)); in ThreadFunc2()
593 if (p->numStartedThreads == 1) in ThreadFunc2()
601 p->numStartedThreads_Limit = p->numStartedThreads; in ThreadFunc2()
608 nextThread = &p->threads[nextIndex >= p->numStartedThreads ? 0 : nextIndex]; in ThreadFunc2()
887 if (i > p->numStartedThreads in MtDec_PrepareRead()
891 i + p->numStartedThreads - p->filledThreadStart)) in MtDec_PrepareRead()
919 if (++p->filledThreadStart == p->numStartedThreads) in MtDec_Read()
[all …]
DMtCoder.c212 if (mtc->numStartedThreads < mtc->numStartedThreadsLimit in ThreadFunc2()
215 res = MtCoderThread_CreateAndStart(&mtc->threads[mtc->numStartedThreads]); in ThreadFunc2()
217 mtc->numStartedThreads++; in ThreadFunc2()
359 if (numFinished == mtc->numStartedThreads) in ThreadFunc()
526 p->numStartedThreads = 0; in MtCoder_Code()
530 CMtCoderThread *nextThread = &p->threads[p->numStartedThreads++]; in MtCoder_Code()
DMtCoder.h114 unsigned numStartedThreads; member
DMtDec.h161 unsigned numStartedThreads; member
DXzDec.c1732 if (block->unpackSize * 2 * me->mtc.numStartedThreads > me->props.memUseMax) in XzDecMt_Callback_Parse()
1799 UInt64 required = (UInt64)blockMax * (me->mtc.numStartedThreads + 1) * 2; in XzDecMt_Callback_Parse()