Searched refs:RINOK_THREAD (Results 1 – 1 of 1) sorted by relevance
98 #define RINOK_THREAD(x) { if ((x) != 0) return SZ_ERROR_THREAD; } macro105 RINOK_THREAD(CriticalSection_Init(&p->cs)); in MtSync_Create2()108 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->canStart)); in MtSync_Create2()109 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->wasStarted)); in MtSync_Create2()110 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->wasStopped)); in MtSync_Create2()112 RINOK_THREAD(Semaphore_Create(&p->freeSemaphore, numBlocks, numBlocks)); in MtSync_Create2()113 RINOK_THREAD(Semaphore_Create(&p->filledSemaphore, 0, numBlocks)); in MtSync_Create2()117 RINOK_THREAD(Thread_Create(&p->thread, startAddress, obj)); in MtSync_Create2()