• Home
  • Raw
  • Download

Lines Matching full:tasks

8 This module defines the helper and the worker. If there are duplicate tasks, for
13 The worker invokes the work method of the tasks that are not duplicate.
22 """Helper that filters duplicate tasks.
24 This method Continuously pulls duplicate tasks from the helper_queue. The
25 duplicate tasks need not be compiled/tested. This method also pulls completed
26 tasks from the worker queue and let the results of the duplicate tasks be the
32 done_dict: A dictionary of tasks that are done. The key of the dictionary is
35 helper_queue: A queue of duplicate tasks whose results need to be resolved.
38 completed_queue: A queue of tasks that have been built/tested. The results
39 of these tasks are needed to resolve the results of the duplicate tasks.
42 result_queue: After the results of the duplicate tasks have been resolved,
43 the duplicate tasks will be sent to the next stage via this queue.
46 # The list of duplicate tasks, the results of which need to be resolved.
76 # Check and get completed tasks from completed_queue.
80 # Wait to resolve the results of the remaining duplicate tasks.
88 """Pull results from the completed queue and resolves duplicate tasks.
93 completed_queue: A queue of tasks that have been performed. The results of
94 these tasks are needed to resolve the results of the duplicate tasks. This
96 done_dict: A dictionary of tasks that are done. The key of the dictionary is
99 waiting_list: The list of duplicate tasks, the results of which need to be
101 result_queue: After the results of the duplicate tasks have been resolved,
102 the duplicate tasks will be sent to the next stage via this queue.
106 duplicate tasks in the waiting list. Relevant tasks are the tasks that have
114 tasks = [t for t in waiting_list if t.GetIdentifier(stage) == identifier]
115 for duplicate_task in tasks:
131 helper_queue: Queue that holds the completed tasks and the results. This is
133 result_queue: Queue that holds the completed tasks and the results. This is