Lines Matching full:task
39 Task_list::push_back(Task* t) in push_back()
57 Task_list::push_front(Task* t) in push_front()
72 // Remove and return the first Task waiting for this lock to be
75 inline Task*
78 Task* ret = this->head_; in pop_front()
148 // Add a task to the end of a specific queue, or put it on the list
152 Workqueue::add_to_queue(Task_list* queue, Task* t, bool front) in add_to_queue()
176 // Add a task to the queue.
179 Workqueue::queue(Task* t) in queue()
184 // Queue a task which should run soon.
187 Workqueue::queue_soon(Task* t) in queue_soon()
193 // Queue a task which should run next.
196 Workqueue::queue_next(Task* t) in queue_next()
210 // Find a runnable task in TASKS. Return NULL if none could be found.
211 // If we find a Task waiting for a Token, add it to the list for that
214 Task*
217 Task* t; in find_runnable_in_list()
229 // We couldn't find any runnable task. in find_runnable_in_list()
233 // Find a runnable task. Return NULL if none could be found. The
236 Task*
239 Task* t = this->find_runnable_in_list(&this->first_tasks_); in find_runnable()
245 // Find a runnable a task, and wait until we find one. Return NULL if
249 Task*
252 Task* t = this->find_runnable(); in find_runnable_or_wait()
282 // Find and run tasks. If we can't find a runnable task, wait for one
283 // to become available. If we run a task, and it frees up another
284 // runnable task, then run that one too. This returns true if we
285 // should look for another task, false if we are cancelling this
291 Task* t; in find_and_run_task()
297 // Find a runnable task. in find_and_run_task()
303 // Get the locks for the task. This must be called while we are in find_and_run_task()
312 gold_debug(DEBUG_TASK, "%3d running task %s", thread_number, in find_and_run_task()
326 "%3d completed task %s " in find_and_run_task()
334 Task* next; in find_and_run_task()
340 // Release the locks for the task. This must be done with the in find_and_run_task()
341 // workqueue lock held. Get the next Task to run if any. in find_and_run_task()
347 // If we have another Task to run, get the Locks. This must in find_and_run_task()
358 // We are done with this task. in find_and_run_task()
373 // already decided which Task to run next. Add T to the list of
397 Workqueue::return_or_queue(Task* t, bool is_blocker, Task** pret) in return_or_queue()
441 // Release the locks associated with a Task. Return the first
442 // runnable Task that we find. If we find more runnable tasks, add
446 Task*
447 Workqueue::release_locks(Task* t, Task_locker* tl) in release_locks()
449 Task* ret = NULL; in release_locks()
457 // The token has been unblocked. Every waiting Task may in release_locks()
459 Task* t; in release_locks()
471 // One more waiting Task may now be runnable. If we are in release_locks()
476 Task* t; in release_locks()