Home | History | Annotate | Download | only in base

Lines Matching defs:task

18 void TaskQueue::Push(Task* task) {
19 DCHECK(task);
21 // Add the task to the back of the queue.
22 queue_.push_back(task);
39 std::deque<Task*> ready;
43 std::deque<Task*>::const_iterator task;
44 for (task = ready.begin(); task != ready.end(); ++task) {
45 // Run the task and then delete it.
46 (*task)->Run();
47 delete (*task);