Home | History | Annotate | Download | only in runtime

Lines Matching defs:Task

32 class Task : public Closure {
77 // Add a new task, the first available started worker will process it. Does not delete the task
79 void AddTask(Thread* self, Task* task);
99 // get a task to run, blocks if there are no tasks left
100 virtual Task* GetTask(Thread* self);
102 // Try to get a task, returning NULL if there is none available.
103 Task* TryGetTask(Thread* self);
104 Task* TryGetTaskLocked(Thread* self) EXCLUSIVE_LOCKS_REQUIRED(task_queue_lock_);
119 std::deque<Task*> tasks_ GUARDED_BY(task_queue_lock_);
134 class WorkStealingTask : public Task {
145 // How many people are referencing this task.
180 // Find a task to steal from