Searched refs:workers_ (Results 1 – 6 of 6) sorted by relevance
508 workers_.push_back(thread); in ThreadPool()514 for (size_t i = 0; i < workers_.size(); i++) { in StartWorkers()515 workers_[i]->Start(); in StartWorkers()524 int num_threads() { return workers_.size();} in num_threads()528 for (size_t i = 0; i < workers_.size(); i++) { in ~ThreadPool()531 for (size_t i = 0; i < workers_.size(); i++) { in ~ThreadPool()532 workers_[i]->Join(); in ~ThreadPool()533 delete workers_[i]; in ~ThreadPool() local537 std::vector<MyThread*> workers_;
319 for (auto w : workers_) { in ~WorkersPool()330 assert(static_cast<std::size_t>(index) < workers_.size()); in StartWorker()331 workers_[index]->StartWork(task_); in StartWorker()338 if (workers_.size() >= workers_count) { in CreateWorkers()341 counter_to_decrement_when_ready_.Reset(workers_count - workers_.size()); in CreateWorkers()342 while (workers_.size() < workers_count) { in CreateWorkers()343 workers_.push_back(new Worker(&counter_to_decrement_when_ready_)); in CreateWorkers()354 std::vector<Worker*> workers_; variable
80 workers_.reserve(worker_count); in init_workers()89 workers_.emplace_back(std::unique_ptr<Worker>(worker)); in init_workers()146 for (auto &worker : workers_) in attach_shell()154 for (auto &worker : workers_) in detach_shell()431 std::vector<VkCommandPool> cmd_pools(workers_.size() + 1, VK_NULL_HANDLE); in create_command_buffers()432 std::vector<std::vector<VkCommandBuffer>> cmds_vec(workers_.size() + 1, in create_command_buffers()765 for (auto &worker : workers_) in on_tick()780 for (auto &worker : workers_) in on_frame()804 for (auto &worker : workers_) in on_frame()
128 std::vector<std::unique_ptr<Worker>> workers_; variable
461 static i::List<Worker*> workers_; variable
260 i::List<Worker*> Shell::workers_; member in v8::Shell774 if (workers_.length() >= kMaxWorkers) { in WorkerNew()788 workers_.Add(worker); in WorkerNew()2336 workers_copy.AddAll(workers_); in CleanupWorkers()2337 workers_.Clear(); in CleanupWorkers()