Searched refs:_num_tasks (Results 1 – 3 of 3) sorted by relevance
53 self._num_tasks = num_tasks67 self._next_task = (self._next_task + 1) % self._num_tasks
365 def _num_tasks(self): member in WorkerServer
157 return self.workers[worker_index]._num_tasks()