Searched refs:mWorkUnits (Results 1 – 2 of 2) sorted by relevance
46 && mIdleThreads < mWorkUnits.size() + 1) { in schedule()55 while (mWorkUnits.size() >= mMaxThreads * backlog) { in schedule()63 mWorkUnits.add(workUnit); in schedule()82 size_t count = mWorkUnits.size(); in cancelLocked()84 delete mWorkUnits.itemAt(i); in cancelLocked()86 mWorkUnits.clear(); in cancelLocked()125 if (!mWorkUnits.isEmpty()) { in threadLoop()126 workUnit = mWorkUnits.itemAt(0); in threadLoop()127 mWorkUnits.removeAt(0); in threadLoop()
114 Vector<WorkUnit*> mWorkUnits; variable