Lines Matching refs:numStartedThreads
581 if (p->numStartedThreads < p->numStartedThreads_Limit && canCreateNewThread) in ThreadFunc2()
583 SRes res2 = MtDecThread_CreateAndStart(&p->threads[p->numStartedThreads]); in ThreadFunc2()
587 p->numStartedThreads++; in ThreadFunc2()
591 PRF(printf("\nERROR: numStartedThreads=%d\n", p->numStartedThreads)); in ThreadFunc2()
592 if (p->numStartedThreads == 1) in ThreadFunc2()
600 p->numStartedThreads_Limit = p->numStartedThreads; in ThreadFunc2()
607 nextThread = &p->threads[nextIndex >= p->numStartedThreads ? 0 : nextIndex]; in ThreadFunc2()
886 if (i > p->numStartedThreads in MtDec_PrepareRead()
890 i + p->numStartedThreads - p->filledThreadStart)) in MtDec_PrepareRead()
918 if (++p->filledThreadStart == p->numStartedThreads) in MtDec_Read()
1066 p->numStartedThreads = 0; in MtDec_Code()
1095 CMtDecThread *nextThread = &p->threads[p->numStartedThreads++]; in MtDec_Code()