Example #1
0
        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)
Example #2
0
 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)
Example #3
0
 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)