Searched refs:workers_count (Results 1 – 1 of 1) sorted by relevance
378 std::size_t workers_count = tasks.size() - 1; in Execute() local379 CreateWorkers(workers_count); in Execute()380 assert(workers_count <= workers_.size()); in Execute()381 counter_to_decrement_when_ready_.Reset(workers_count); in Execute()400 void CreateWorkers(std::size_t workers_count) { in CreateWorkers() argument401 if (workers_.size() >= workers_count) { in CreateWorkers()404 counter_to_decrement_when_ready_.Reset(workers_count - workers_.size()); in CreateWorkers()405 while (workers_.size() < workers_count) { in CreateWorkers()