Lines Matching refs:tasks
26 /* This file handles the maintenance of tasks in response to task
75 benchmark the overhead of creating tasks as there are millions of
76 tiny tasks created that all run undeferred. */
111 struct priority_node *p = list->tasks;
118 while (p != list->tasks);
306 deferred tasks, because each out depends on all earlier outs, thus it
312 non-deferred tasks we want to see all outs, so they are moved to the
361 tied to one thread all the time. This means UNTIED tasks must be
369 /* If parallel or taskgroup has been cancelled, don't start new tasks. */
399 /* If there are depend clauses and earlier deferred sibling tasks
402 depend clauses for non-deferred tasks other than this, because
404 it can't start further child tasks. */
514 tasks. */
543 /* Tasks that depend on other tasks are not put into the
545 tasks are instead put into the queues via
712 /* Called for nowait target tasks. */
724 /* If parallel or taskgroup has been cancelled, don't start new tasks. */
842 /* If parallel or taskgroup has been cancelled, don't start new tasks. */
950 We rearrange the queue such that all parent_depends_on tasks are
952 rearranged. For example, given the following tasks in a queue
953 where PD[123] are the parent_depends_on tasks:
983 else if (node != list->tasks)
987 node->prev = list->tasks->prev;
988 node->next = list->tasks;
989 list->tasks = node;
1029 the way in LIST so that other tasks can be considered for
1030 execution. LIST contains tasks of type TYPE.
1041 if (list->tasks == node)
1042 list->tasks = node->next;
1043 else if (node->next != list->tasks)
1045 /* The task in NODE is about to become TIED and TIED tasks
1046 cannot come before WAITING tasks. If we're about to
1057 node->next = list->tasks;
1058 node->prev = list->tasks->prev;
1059 list->tasks->prev->next = node;
1060 list->tasks->prev = node;
1084 the way so that other tasks can be considered for execution. HEAD
1085 contains tasks of type TYPE.
1572 /* All tasks we are waiting for are either running in other
1574 fulfilled, or they are tasks that have not had their
1701 /* An undeferred task is about to run. Wait for all tasks that this
1707 ready tasks (and possibly other high priority tasks), and run them.
1813 running an undeferred task, perhaps that makes all tasks it
1844 /* All tasks we are waiting for are either running in other
1845 threads, or they are tasks that have not had their
1951 /* If team is NULL, all tasks are executed as
1952 GOMP_TASK_UNDEFERRED tasks and thus all children tasks of
1953 taskgroup and their descendant tasks will be finished
1981 for all outstanding tasks in this team. */
2047 /* All tasks we are waiting for are either running in other
2048 threads, or they are tasks that have not had their
2495 /* Wake up threads to run new tasks. */