def run(self): while True: monitor_stat(self.queue.get())
def run(self): while True: # data = self.queue.get() # print data monitor_stat(self.queue.get())