Searched refs:pending_tasks_ (Results 1 – 7 of 7) sorted by relevance
22 pending_tasks_.push_back( in PostDelayedTask()33 pending_tasks_.push_back( in PostNonNestableDelayedTask()47 return pending_tasks_; in GetPendingTasks()52 return !pending_tasks_.empty(); in HasPendingTask()57 return pending_tasks_.front().GetTimeToRun() - base::TimeTicks(); in NextPendingTaskDelay()62 pending_tasks_.clear(); in ClearPendingTasks()69 tasks_to_run.swap(pending_tasks_); in RunPendingTasks()77 while (!pending_tasks_.empty()) { in RunUntilIdle()
76 std::deque<TestPendingTask> pending_tasks_; variable
128 while (!pending_tasks_.empty()) in ~PosixDynamicThreadPool()129 pending_tasks_.pop(); in ~PosixDynamicThreadPool()153 pending_tasks_.push(std::move(*pending_task)); in AddTask()156 if (static_cast<size_t>(num_idle_threads_) >= pending_tasks_.size()) { in AddTask()172 if (pending_tasks_.empty()) { // No work available, wait for work. in WaitForTask()181 if (pending_tasks_.empty()) { in WaitForTask()188 PendingTask pending_task = std::move(pending_tasks_.front()); in WaitForTask()189 pending_tasks_.pop(); in WaitForTask()
470 PendingTaskSet pending_tasks_; member in base::SequencedWorkerPool::Inner662 pending_tasks_.insert(sequenced); in PostTask()724 if (pending_tasks_.empty() && waiting_thread_count_ == threads_.size()) in CleanupForTesting()1017 PendingTaskSet::iterator i = pending_tasks_.begin(); in GetWork()1021 while (i != pending_tasks_.end()) { in GetWork()1045 pending_tasks_.erase(i++); in GetWork()1056 pending_tasks_.erase(i); in GetWork()1063 pending_tasks_.erase(i); in GetWork()1163 for (PendingTaskSet::const_iterator i = pending_tasks_.begin(); in PrepareToStartAdditionalThreadIfHelpful()1164 i != pending_tasks_.end(); ++i) { in PrepareToStartAdditionalThreadIfHelpful()
87 TaskQueue pending_tasks_; variable
31 return pool_->pending_tasks_; in pending_tasks()
49 pending_tasks_(semaphore) {} in PageParallelJob()92 pending_tasks_, per_task_data_callback(i)); in Run()108 pending_tasks_->Wait(); in Run()188 base::Semaphore* pending_tasks_; variable