Lines Matching full:busy
39 # - busy and work are only modified when mutex is locked
41 # - busy is the number of jobs being done
42 # - todo is locked iff there is no work and somebody is busy
49 self.busy = 0
62 if self.busy == 0 and len(self.work) == 0:
68 self.busy = self.busy + 1
76 self.busy = self.busy - 1
77 if self.busy == 0 and len(self.work) == 0: