def conclude(self): self.quit_event.set() for stream in self.client_streams: self.client_threads[stream].join() if self.server_thread: self.server_thread.join() script.log(1, "STOPPING SCRIPT") Daemon.conclude(self)
def conclude(self): for i in range(int(self.cfg["NUM_BEAM"])): bid = self.cfg["BEAM_" + str(i)] self.results[bid]["lock"].acquire() self.results[bid]["lock"].release() Daemon.conclude(self)
def conclude (self): for i in range(int(self.cfg["NUM_BEAM"])): bid = self.cfg["BEAM_" + str(i)] self.results[bid]["lock"].acquire() self.results[bid]["lock"].release() Daemon.conclude(self)