Searched refs:done_tasks (Results 1 – 2 of 2) sorted by relevance
21 def task(N, done, done_tasks, errors): argument25 if len(done_tasks) % 2:36 done_tasks.append(threading.get_ident())37 finished = len(done_tasks) == N124 done_tasks = []128 args=(N, done, done_tasks, errors,))135 dbg_info = 'done: %s/%s' % (len(done_tasks), N)
941 done_tasks = [t for t in race_tasks if t.done() and t.result()]942 self.assertTrue(2, len(done_tasks))