Searched refs:mWorkers (Results 1 – 1 of 1) sorted by relevance
100 mWorkers = std::vector<Optional<Worker>>(threads); in ThreadPool()101 for (auto& workerPtr : mWorkers) { in ThreadPool()120 for (auto& workerPtr : mWorkers) { in start()131 for (auto& workerPtr : mWorkers) { in done()139 for (auto& workerPtr : mWorkers) { in join()144 mWorkers.clear(); in join()152 int workerIndex = currentIndex % mWorkers.size(); in enqueue()153 auto& workerPtr = mWorkers[workerIndex]; in enqueue()166 for (auto& workerOpt : mWorkers) { in broadcast()176 for (auto& workerOpt : mWorkers) { in waitAllItems()[all …]