Searched refs:canRead (Results 1 – 5 of 5) sorted by relevance
54 bool canRead = buffer.getNumElements() > 0; in RingBuffer_selfTest() local56 bool doRead = canRead && (!canWrite || rnd.getBool()); in RingBuffer_selfTest()
105 wres = AutoResetEvent_OptCreate_And_Reset(&t->canRead); in MtDecThread_CreateEvents()151 Event_Set(&t->canRead); in MtDecThread_CloseThread()155 Event_Close(&t->canRead); in MtDecThread_CloseThread()273 RINOK_THREAD(Event_Wait(&t->canRead)) in MtDec_ThreadFunc2()581 RINOK_THREAD(Event_Set(&nextThread->canRead)) in MtDec_ThreadFunc2()793 RINOK_THREAD(Event_Set(&p->threads[0].canRead)) in MtDec_ThreadFunc2()831 Event_Set(&p->threads[0].canRead); in MtDec_ThreadFunc1()969 Event_Construct(&t->canRead); in MtDec_Construct()1073 if (wres == 0) { wres = Event_Set(&nextThread->canRead); in MtDec_Code()
51 CAutoResetEvent canRead; member
61 if (propFile.canRead()) {65 if (propFile.canRead()) {
2073 if (!file.canRead()) { in readFile()