Lines Matching refs:mThreads
42 mThreads.push_back(new WorkerThread(name)); in TaskManager()
47 for (size_t i = 0; i < mThreads.size(); i++) { in ~TaskManager()
48 mThreads[i]->exit(); in ~TaskManager()
53 return mThreads.size() > 0; in canRunTasks()
57 for (size_t i = 0; i < mThreads.size(); i++) { in stop()
58 mThreads[i]->exit(); in stop()
63 if (mThreads.size() > 0) { in addTaskBase()
69 for (size_t i = 0; i < mThreads.size(); i++) { in addTaskBase()
70 if (mThreads[i]->getTaskCount() < minQueueSize) { in addTaskBase()
71 thread = mThreads[i]; in addTaskBase()
72 minQueueSize = mThreads[i]->getTaskCount(); in addTaskBase()