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_;
354 for (auto w : workers_) { in ~WorkersPool()364 assert(workers_count <= workers_.size()); in Execute()368 workers_[n++]->StartWork(task); in Execute()388 if (workers_.size() >= workers_count) { in CreateWorkers()391 counter_to_decrement_when_ready_.Reset(workers_count - workers_.size()); in CreateWorkers()392 while (workers_.size() < workers_count) { in CreateWorkers()393 workers_.push_back(new Worker(&counter_to_decrement_when_ready_)); in CreateWorkers()403 std::vector<Worker*> workers_; variable
75 workers_.reserve(worker_count); in init_workers()84 workers_.emplace_back(std::unique_ptr<Worker>(worker)); in init_workers()141 for (auto &worker : workers_) in attach_shell()149 for (auto &worker : workers_) in detach_shell()426 std::vector<VkCommandPool> cmd_pools(workers_.size() + 1, VK_NULL_HANDLE); in create_command_buffers()427 std::vector<std::vector<VkCommandBuffer>> cmds_vec(workers_.size() + 1, in create_command_buffers()760 for (auto &worker : workers_) in on_tick()775 for (auto &worker : workers_) in on_frame()802 for (auto &worker : workers_) in on_frame()
122 std::vector<std::unique_ptr<Worker>> workers_; variable
466 static i::List<Worker*> workers_; variable
411 i::List<Worker*> Shell::workers_; member in v8::Shell1148 if (workers_.length() >= kMaxWorkers) { in WorkerNew()1162 workers_.Add(worker); in WorkerNew()2807 workers_copy.AddAll(workers_); in CleanupWorkers()2808 workers_.Clear(); in CleanupWorkers()