Lines Matching refs:thread
1 /* MtDec.c -- Multi-thread Decoder
119 if (Thread_WasCreated(&t->thread))
121 wres = Thread_Create(&t->thread, MtDec_ThreadFunc, t);
148 if (Thread_WasCreated(&t->thread))
152 Thread_Wait_Close(&t->thread);
439 // we don't need to parse in current thread anymore
541 // if (codeRes == SZ_ERROR_MEM) - we will try single-thread decoding later.
542 // if (codeRes != SZ_ERROR_MEM) - we can stop decoding or try single-thread decoding.
567 // if only one thread is possible, we leave muti-threading code
582 // We have started executing for new iteration (with next thread)
583 // And that next thread now is responsible for possible exit from decoding (threading_code)
589 // if ( finish ) we switch to single-thread mode and there are 2 ways at the end of current iteration (current block):
971 Thread_CONSTRUCT(&t->thread)