Lines Matching refs:numStartedThreads
582 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()
1067 p->numStartedThreads = 0; in MtDec_Code()
1096 CMtDecThread *nextThread = &p->threads[p->numStartedThreads++]; in MtDec_Code()