HomeSort by relevance Sort by last modified time
    Searched full:tasks_ (Results 1 - 5 of 5) sorted by null

  /external/chromium/base/threading/
worker_pool_posix.cc 107 while (!tasks_.empty()) {
108 Task* task = tasks_.front();
109 tasks_.pop();
128 tasks_.push(task);
131 if (static_cast<size_t>(num_idle_threads_) >= tasks_.size()) {
148 if (tasks_.empty()) { // No work available, wait for work.
157 if (tasks_.empty()) {
164 Task* task = tasks_.front();
165 tasks_.pop();
worker_pool_posix.h 78 std::queue<Task*> tasks_; member in class:base::PosixDynamicThreadPool
worker_pool_posix_unittest.cc 28 const std::queue<Task*>& tasks() const { return pool_->tasks_; }
  /external/chromium/third_party/libjingle/source/talk/base/
taskrunner.cc 57 tasks_.push_back(task);
89 // use indexing instead of iterators because tasks_ may grow
90 for (size_t i = 0; i < tasks_.size(); ++i) {
91 while (!tasks_[i]->Blocked()) {
92 tasks_[i]->Step();
99 for (size_t i = 0; i < tasks_.size(); ++i) {
100 if (tasks_[i]->IsDone()) {
101 Task* task = tasks_[i];
115 tasks_[i] = NULL;
120 it = std::remove(tasks_.begin()
    [all...]
taskrunner.h 104 std::vector<Task *> tasks_; member in class:talk_base::TaskRunner

Completed in 1038 milliseconds