Searched refs:tp (Results 1 – 2 of 2) sorted by relevance
360 unique_ptr<ThreadPool> tp(NewThreadPool(g_flags.num_jobs)); in CheckStep2() local362 tp->Submit([this]() { in CheckStep2()378 tp->Submit([this, sr]() { in CheckStep2()390 tp->Wait(); in CheckStep2()
600 unique_ptr<ThreadPool> tp(NewThreadPool(g_flags.num_jobs)); in GenerateNinja() local606 tp->Submit([this, i, num_nodes_per_task, &bufs]() { in GenerateNinja()614 tp->Wait(); in GenerateNinja()