Lines Matching refs:numStartedThreads
554 if (p->numStartedThreads < p->numStartedThreads_Limit && canCreateNewThread) in MtDec_ThreadFunc2()
556 SRes res2 = MtDecThread_CreateAndStart(&p->threads[p->numStartedThreads]); in MtDec_ThreadFunc2()
560 p->numStartedThreads++; in MtDec_ThreadFunc2()
564 PRF(printf("\nERROR: numStartedThreads=%d\n", p->numStartedThreads)); in MtDec_ThreadFunc2()
565 if (p->numStartedThreads == 1) in MtDec_ThreadFunc2()
573 p->numStartedThreads_Limit = p->numStartedThreads; in MtDec_ThreadFunc2()
580 nextThread = &p->threads[nextIndex >= p->numStartedThreads ? 0 : nextIndex]; in MtDec_ThreadFunc2()
870 if (i > p->numStartedThreads in MtDec_PrepareRead()
874 i + p->numStartedThreads - p->filledThreadStart)) in MtDec_PrepareRead()
902 if (++p->filledThreadStart == p->numStartedThreads) in MtDec_Read()
1050 p->numStartedThreads = 0; in MtDec_Code()
1079 CMtDecThread *nextThread = &p->threads[p->numStartedThreads++]; in MtDec_Code()