Searched refs:RINOK_THREAD (Results 1 – 2 of 2) sorted by relevance
100 #define RINOK_THREAD(x) { if ((x) != 0) return SZ_ERROR_THREAD; } macro107 RINOK_THREAD(CriticalSection_Init(&p->cs)); in MtSync_Create2()110 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->canStart)); in MtSync_Create2()111 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->wasStarted)); in MtSync_Create2()112 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->wasStopped)); in MtSync_Create2()114 RINOK_THREAD(Semaphore_Create(&p->freeSemaphore, numBlocks, numBlocks)); in MtSync_Create2()115 RINOK_THREAD(Semaphore_Create(&p->filledSemaphore, 0, numBlocks)); in MtSync_Create2()119 RINOK_THREAD(Thread_Create(&p->thread, startAddress, obj)); in MtSync_Create2()
121 #define RINOK_THREAD(x) { if ((x) != 0) return SZ_ERROR_THREAD; } macro161 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->canRead)); in CMtThread_Prepare()162 RINOK_THREAD(AutoResetEvent_CreateNotSignaled(&p->canWrite)); in CMtThread_Prepare()