Lines Matching refs:thread
36 #include <thread>
237 std::vector<std::thread> threads(num_threads);
238 for (std::thread& thread : threads) {
239 thread = std::thread([this, &mappings, num_queries]() {
260 for (std::thread& thread : threads) {
261 thread.join();
567 std::vector<std::thread> threads(10);
568 for (std::thread& thread : threads) {
569 thread = std::thread([this, &servers]() {
593 for (std::thread& thread : threads) {
594 thread.join();