def start(self, protocol): if self.isRunning(): raise Exception("Sequence is already running.") self.prot = protocol self._stop = False self.sigMessage.emit('[ running.. ]') Thread.start(self)
def start(self): self._quit = False self.lastUpdate = ptime.time() Thread.start(self)
def start(self): self.stopped = False Thread.start(self)
def start(self, *args): self.lock.lock() self.stopThread = False self.lock.unlock() Thread.start(self, *args)