Lines Matching refs:RINOK_THREAD
36 #define RINOK_THREAD(x) { if ((x) != 0) return SZ_ERROR_THREAD; } macro
128 RINOK_THREAD(Event_Wait(&mtc->readEvent)) in ThreadFunc2()
229 RINOK_THREAD(Event_Set(&mtc->readEvent)) in ThreadFunc2()
258 RINOK_THREAD(Event_Set(&mtc->writeEvents[bi])) in ThreadFunc2()
316 RINOK_THREAD(Semaphore_Release1(&mtc->blocksSemaphore)) in ThreadFunc2()
491 RINOK_THREAD(ArEvent_OptCreate_And_Reset(&p->writeEvents[i])); in MtCoder_Code()
494 RINOK_THREAD(ArEvent_OptCreate_And_Reset(&p->finishedEvent)); in MtCoder_Code()
498 RINOK_THREAD(ArEvent_OptCreate_And_Reset(&p->readEvent)); in MtCoder_Code()
502 RINOK_THREAD(Semaphore_Close(&p->blocksSemaphore)); in MtCoder_Code()
504 RINOK_THREAD(Semaphore_Create(&p->blocksSemaphore, numBlocksMax, numBlocksMax)); in MtCoder_Code()
534 RINOK_THREAD(Event_Set(&p->readEvent)) in MtCoder_Code()
545 RINOK_THREAD(Event_Wait(&p->writeEvents[bi])) in MtCoder_Code()
571 RINOK_THREAD(Semaphore_Release1(&p->blocksSemaphore)) in MtCoder_Code()