Searched refs:threadHasWork (Results 1 – 1 of 1) sorted by relevance
755 auto threadHasWork = [&](uint32_t curDraw) { return curDraw != pContext->dcRing.GetHead(); }; in workerThreadMain() local764 if (bShutdown && !threadHasWork(curDrawBE)) in workerThreadMain()770 while (loop++ < KNOB_WORKER_SPIN_LOOP_COUNT && !threadHasWork(curDrawBE)) in workerThreadMain()775 if (!threadHasWork(curDrawBE)) in workerThreadMain()780 if (threadHasWork(curDrawBE)) in workerThreadMain()